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