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