Skip to main content

Label

Version: 12.0

cete.dynamicpdf.layoutengine.layoutelements.label

Label​

Represents a label report element.

public class Label : LayoutElement
Public Class Label
Inherits LayoutElement

Inheritance: Object → LayoutElement → Label

Licensing Info​

This class is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Properties​

Align​

Gets or sets the Align enumeration that specifies the text alignment of the label.

public TextAlign Align { get; set; }
Public Property Align As TextAlign

Property Value​

TextAlign

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Angle​

Gets or sets the angle of the label in degrees.

public float Angle { get; set; }
Public Property Angle As Single

Property Value​

Single

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Font​

Gets or sets the Font object to use for the text of the label.

public Font Font { get; set; }
Public Property Font As Font

Property Value​

Font

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

FontSize​

Gets or sets the font size for the text of the label.

public float FontSize { get; set; }
Public Property FontSize As Single

Property Value​

Single

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Height​

Gets or sets the height of the label.

public float Height { get; set; }
Public Property Height As Single

Property Value​

Single

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

RightToLeft​

Gets or sets a value indicating if text should be displayed right to left reading order.

public bool RightToLeft { get; set; }
Public Property RightToLeft As Boolean

Property Value​

Boolean

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Text​

Gets or sets the text of the label.

public string Text { get; set; }
Public Property Text As String

Property Value​

String

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

TextColor​

Gets or sets the Color object to use for the text of the label.

public Color TextColor { get; set; }
Public Property TextColor As Color

Property Value​

Color

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Underline​

Gets or sets a value indicating if the label is underlined.

public bool Underline { get; set; }
Public Property Underline As Boolean

Property Value​

Boolean

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

VAlign​

Gets or sets the VAlign enumeration that specifies the vertical text alignment of the label.

public VAlign VAlign { get; set; }
Public Property VAlign As VAlign

Property Value​

VAlign

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Width​

Gets or sets the width of the label.

public float Width { get; set; }
Public Property Width As Single

Property Value​

Single

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

X​

Gets or sets the X coordinate of the label.

public float X { get; set; }
Public Property X As Single

Property Value​

Single

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Y​

Gets or sets the Y coordinate of the label.

public float Y { get; set; }
Public Property Y As Single

Property Value​

Single

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Methods​

Equals(Object)​

Determines whether the specified Object is equal to the current Object . (Inherited from Object)

public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean

Parameters​

The Object to compare with the current Object .

Returns​

true if the specified Object is equal to the current Object ; otherwise, false.

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

GetHashCode()​

Serves as a hash function for a particular type. (Inherited from Object)

public int GetHashCode()
Function GetHashCode() As Integer

Returns​

A hash code for the current Object .

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

GetType()​

Gets the Type of the current instance. (Inherited from Object)

public Type GetType()
Function GetType() As Type

Returns​

The Type instance that represents the exact runtime type of the current instance.

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

ToString()​

Returns a String that represents the current Object . (Inherited from Object)

public string ToString()
Function ToString() As String

Returns​

A String that represents the current Object .

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Events​

LaidOut​

Occurs after the label has been laid out.

public event LabelLaidOutEventHandler Label.LaidOut;
Public Event Label.LaidOut As LabelLaidOutEventHandler

Event Handler​

LabelLaidOutEventHandler

Licensing Info​

This event is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

LayingOut​

Occurs before the label is laid out.

public event LayingOutEventHandler Label.LayingOut;
Public Event Label.LayingOut As LayingOutEventHandler

Event Handler​

LayingOutEventHandler

Licensing Info​

This event is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

See Also​

ceTe.DynamicPDF.LayoutEngine.LayoutElements