Class
RadPrintElement

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class RadPrintElement

Inheritance: objectRadPrintElement

Derived Classes: AppointmentPrintElementCalendarPrintElementCellPrintElementGanttViewPrintElementNotesAreaPrintElementPivotCellPrintElementPivotFieldPrintElementPivotGroupPrintElementSchedulerPrintCellElement

Constructors

RadPrintElement()

Declaration

cs-api-definition
public RadPrintElement()

RadPrintElement(string)

Declaration

cs-api-definition
public RadPrintElement(string text)

Parameters

text

string

Properties

AngleTransform

Gets or sets the rotation angle of the element.

Declaration

cs-api-definition
public float AngleTransform { get; set; }

Property Value

float

BackColor

Gets or sets the back color of the element.

Declaration

cs-api-definition
public Color BackColor { get; set; }

Property Value

Color

BorderColor

Gets or sets the back color of the element.

Declaration

cs-api-definition
public Color BorderColor { get; set; }

Property Value

Color

DrawBorder

Gets or sets whether a border should be drawn.

Declaration

cs-api-definition
public bool DrawBorder { get; set; }

Property Value

bool

DrawFill

Gets or sets whether a fill should be drawn.

Declaration

cs-api-definition
public bool DrawFill { get; set; }

Property Value

bool

DrawText

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

Declaration

cs-api-definition
public bool DrawText { get; set; }

Property Value

bool

EnableHtmlTextRendering

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

Declaration

cs-api-definition
public bool EnableHtmlTextRendering { get; set; }

Property Value

bool

Font

Gets or sets the font used for drawing the text.

Declaration

cs-api-definition
public Font Font { get; set; }

Property Value

Font

ForeColor

Gets or sets the fore color of the element.

Declaration

cs-api-definition
public Color ForeColor { get; set; }

Property Value

Color

Image

Gets or sets the image of the element.

Declaration

cs-api-definition
public Image Image { get; set; }

Property Value

Image

ImageAlignment

Gets or sets the image alignment

Declaration

cs-api-definition
public ContentAlignment ImageAlignment { get; set; }

Property Value

ContentAlignment

ImageLayout

Gets or sets the image layout.

Declaration

cs-api-definition
public ImageLayout ImageLayout { get; set; }

Property Value

ImageLayout

Polygon

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

Declaration

cs-api-definition
public PointF[] Polygon { get; set; }

Property Value

PointF[]

RightToLeft

Gets or sets whether the cell is right to left.

Declaration

cs-api-definition
public bool RightToLeft { get; set; }

Property Value

bool

ScaleTransform

Gets or sets the scale factors of the element.

Declaration

cs-api-definition
public SizeF ScaleTransform { get; set; }

Property Value

SizeF

StringFormatFlags

Gets or sets the string format flags.

Declaration

cs-api-definition
public StringFormatFlags StringFormatFlags { get; set; }

Property Value

StringFormatFlags

StringTrimming

Gets or sets the string trimming mode.

Declaration

cs-api-definition
public StringTrimming StringTrimming { get; set; }

Property Value

StringTrimming

Text

Gets or sets the text to be drawn.

Declaration

cs-api-definition
public virtual string Text { get; set; }

Property Value

string

TextAlignment

Gets or sets the text alignment of the element.

Declaration

cs-api-definition
public ContentAlignment TextAlignment { get; set; }

Property Value

ContentAlignment

TextPadding

Gets or sets the padding arround the text.

Declaration

cs-api-definition
public Padding TextPadding { get; set; }

Property Value

Padding

Methods

GetHorizontalAlignment(ContentAlignment)

Declaration

cs-api-definition
public virtual StringAlignment GetHorizontalAlignment(ContentAlignment alignment)

Parameters

alignment

ContentAlignment

Returns

StringAlignment

GetTransformedBounds(RectangleF)

Declaration

cs-api-definition
public RectangleF GetTransformedBounds(RectangleF bounds)

Parameters

bounds

RectangleF

Returns

RectangleF

GetVerticalAlignment(ContentAlignment)

Declaration

cs-api-definition
public virtual StringAlignment GetVerticalAlignment(ContentAlignment alignment)

Parameters

alignment

ContentAlignment

Returns

StringAlignment

Paint(Graphics, Rectangle)

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

Declaration

cs-api-definition
public void Paint(Graphics g, Rectangle rect)

Parameters

g

Graphics

The graphics object used for the drawing.

rect

Rectangle

The draw area.

Paint(Graphics, RectangleF)

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

Declaration

cs-api-definition
public void Paint(Graphics g, RectangleF rect)

Parameters

g

Graphics

The graphics object used for the drawing.

rect

RectangleF

The draw area.

PaintBorder(Graphics, Rectangle)

Declaration

cs-api-definition
protected virtual void PaintBorder(Graphics g, Rectangle rect)

Parameters

g

Graphics

rect

Rectangle

PaintBorder(Graphics, RectangleF)

Declaration

cs-api-definition
protected virtual void PaintBorder(Graphics g, RectangleF rect)

Parameters

g

Graphics

rect

RectangleF

PaintElement(Graphics, Rectangle)

Declaration

cs-api-definition
protected virtual void PaintElement(Graphics g, Rectangle rect)

Parameters

g

Graphics

rect

Rectangle

PaintElement(Graphics, RectangleF)

Declaration

cs-api-definition
protected virtual void PaintElement(Graphics g, RectangleF rect)

Parameters

g

Graphics

rect

RectangleF

PaintFill(Graphics, Rectangle)

Declaration

cs-api-definition
protected virtual void PaintFill(Graphics g, Rectangle rect)

Parameters

g

Graphics

rect

Rectangle

PaintFill(Graphics, RectangleF)

Declaration

cs-api-definition
protected virtual void PaintFill(Graphics g, RectangleF rect)

Parameters

g

Graphics

rect

RectangleF

PaintImage(Graphics, Rectangle)

Declaration

cs-api-definition
protected virtual void PaintImage(Graphics g, Rectangle rect)

Parameters

g

Graphics

rect

Rectangle

PaintImage(Graphics, RectangleF)

Declaration

cs-api-definition
protected virtual void PaintImage(Graphics g, RectangleF rect)

Parameters

g

Graphics

rect

RectangleF

PaintText(Graphics, Rectangle)

Declaration

cs-api-definition
protected virtual void PaintText(Graphics g, Rectangle rect)

Parameters

g

Graphics

rect

Rectangle

PaintText(Graphics, RectangleF)

Declaration

cs-api-definition
protected virtual void PaintText(Graphics g, RectangleF rect)

Parameters

g

Graphics

rect

RectangleF