New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Constructors

C#
public RadPrintElement()
C#
public RadPrintElement(string text)
Parameters:textstring

Properties

Gets or sets the rotation angle of the element.

C#
public float AngleTransform { get; set; }

Gets or sets the back color of the element.

C#
public Color BackColor { get; set; }

Gets or sets the back color of the element.

C#
public Color BorderColor { get; set; }

Gets or sets whether a border should be drawn.

C#
public bool DrawBorder { get; set; }

Gets or sets whether a fill should be drawn.

C#
public bool DrawFill { get; set; }

Gets or sets a value indicating whether the text should be drawn.

C#
public bool DrawText { get; set; }

Gets or sets a value indicating whether html text will be interpreted or will be printed directly.

C#
public bool EnableHtmlTextRendering { get; set; }

Gets or sets the font used for drawing the text.

C#
public Font Font { get; set; }

Gets or sets the fore color of the element.

C#
public Color ForeColor { get; set; }

Gets or sets the image of the element.

C#
public Image Image { get; set; }

Gets or sets the image alignment

C#
public ContentAlignment ImageAlignment { get; set; }

Gets or sets the image layout.

C#
public ImageLayout ImageLayout { get; set; }

Represents a series of points that will define the shape of the element.

C#
public PointF[] Polygon { get; set; }

Gets or sets whether the cell is right to left.

C#
public bool RightToLeft { get; set; }

Gets or sets the scale factors of the element.

C#
public SizeF ScaleTransform { get; set; }

Gets or sets the string format flags.

C#
public StringFormatFlags StringFormatFlags { get; set; }

Gets or sets the string trimming mode.

C#
public StringTrimming StringTrimming { get; set; }

Gets or sets the text to be drawn.

C#
public virtual string Text { get; set; }

Gets or sets the text alignment of the element.

C#
public ContentAlignment TextAlignment { get; set; }

Gets or sets the padding arround the text.

C#
public Padding TextPadding { get; set; }

Methods

C#
public virtual StringAlignment GetHorizontalAlignment(ContentAlignment alignment)
Parameters:alignmentContentAlignmentReturns:

StringAlignment

C#
public RectangleF GetTransformedBounds(RectangleF bounds)
Parameters:boundsRectangleFReturns:

RectangleF

C#
public virtual StringAlignment GetVerticalAlignment(ContentAlignment alignment)
Parameters:alignmentContentAlignmentReturns:

StringAlignment

Draws the element using the Graphics object in the given rectangle.

C#
public void Paint(Graphics g, Rectangle rect)
Parameters:gGraphics

The graphics object used for the drawing.

rectRectangle

The draw area.

Draws the element using the Graphics object in the given rectangle.

C#
public void Paint(Graphics g, RectangleF rect)
Parameters:gGraphics

The graphics object used for the drawing.

rectRectangleF

The draw area.

C#
protected virtual void PaintBorder(Graphics g, Rectangle rect)
Parameters:gGraphicsrectRectangle
C#
protected virtual void PaintBorder(Graphics g, RectangleF rect)
Parameters:gGraphicsrectRectangleF
C#
protected virtual void PaintElement(Graphics g, Rectangle rect)
Parameters:gGraphicsrectRectangle
C#
protected virtual void PaintElement(Graphics g, RectangleF rect)
Parameters:gGraphicsrectRectangleF
C#
protected virtual void PaintFill(Graphics g, Rectangle rect)
Parameters:gGraphicsrectRectangle
C#
protected virtual void PaintFill(Graphics g, RectangleF rect)
Parameters:gGraphicsrectRectangleF
C#
protected virtual void PaintImage(Graphics g, Rectangle rect)
Parameters:gGraphicsrectRectangle
C#
protected virtual void PaintImage(Graphics g, RectangleF rect)
Parameters:gGraphicsrectRectangleF
C#
protected virtual void PaintText(Graphics g, Rectangle rect)
Parameters:gGraphicsrectRectangle
C#
protected virtual void PaintText(Graphics g, RectangleF rect)
Parameters:gGraphicsrectRectangleF