RadPrintElement
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadPrintElement
Inheritance: objectRadPrintElement
Derived Classes:
Constructors
public RadPrintElement()
Properties
Gets or sets the rotation angle of the element.
public float AngleTransform { get; set; }
Gets or sets the back color of the element.
public Color BorderColor { get; set; }
Gets or sets whether a border should be drawn.
public bool DrawBorder { get; set; }
Gets or sets a value indicating whether the text should be drawn.
public bool DrawText { get; set; }
Gets or sets a value indicating whether html text will be interpreted or will be printed directly.
public bool EnableHtmlTextRendering { get; set; }
Gets or sets the image alignment
public ContentAlignment ImageAlignment { get; set; }
Gets or sets the image layout.
public ImageLayout ImageLayout { get; set; }
Represents a series of points that will define the shape of the element.
public PointF[] Polygon { get; set; }
Gets or sets whether the cell is right to left.
public bool RightToLeft { get; set; }
Gets or sets the scale factors of the element.
public SizeF ScaleTransform { get; set; }
Gets or sets the string format flags.
public StringFormatFlags StringFormatFlags { get; set; }
Gets or sets the string trimming mode.
public StringTrimming StringTrimming { get; set; }
Gets or sets the text alignment of the element.
public ContentAlignment TextAlignment { get; set; }
Gets or sets the padding arround the text.
public Padding TextPadding { get; set; }
Methods
public virtual StringAlignment GetHorizontalAlignment(ContentAlignment alignment)
public virtual StringAlignment GetVerticalAlignment(ContentAlignment alignment)
Draws the element using the Graphics object in the given rectangle.
public void Paint(Graphics g, RectangleF rect)
The graphics object used for the drawing.
rectRectangleFThe draw area.
protected virtual void PaintBorder(Graphics g, RectangleF rect)
protected virtual void PaintElement(Graphics g, RectangleF rect)
protected virtual void PaintImage(Graphics g, RectangleF rect)