Label Constructors

Overloads

Label(String, Single, Single, Single, Single)Initializes a new instance of the Label class.
Label(String, Single, Single, Single, Single, Font)Initializes a new instance of the Label class.
Label(String, Single, Single, Single, Single, Font, Single)Initializes a new instance of the Label class.
Label(String, Single, Single, Single, Single, Font, Single, Color)Initializes a new instance of the Label class.
Label(String, Single, Single, Single, Single, Font, Single, TextAlign)Initializes a new instance of the Label class.
Label(String, Single, Single, Single, Single, Font, Single, TextAlign, Color)Initializes a new instance of the Label class.

Label(String, Single, Single, Single, Single)

Initializes a new instance of the Label class.

public Label(string text, float x, float y, float width, float height)
Public Sub New (text As String, x As Single, y As Single, width As Single, height As Single)

Parameters

text
String

Text to display in the label.

x
Single

X coordinate of the label.

y
Single

Y coordinate of the label.

width
Single

Width of the label.

height
Single

Height of the label.

Licensing Info

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

Label(String, Single, Single, Single, Single, Font)

Initializes a new instance of the Label class.

public Label(string text, float x, float y, float width, float height, Font font)
Public Sub New (text As String, x As Single, y As Single, width As Single, height As Single, font As Font)

Parameters

text
String

Text to display in the label.

x
Single

X coordinate of the label.

y
Single

Y coordinate of the label.

width
Single

Width of the label.

height
Single

Height of the label.

font
Font

Font for the text of the label.

Licensing Info

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

Label(String, Single, Single, Single, Single, Font, Single)

Initializes a new instance of the Label class.

public Label(string text, float x, float y, float width, float height, Font font, float fontSize)
Public Sub New (text As String, x As Single, y As Single, width As Single, height As Single, font As Font, fontSize As Single)

Parameters

text
String

Text to display in the label.

x
Single

X coordinate of the label.

y
Single

Y coordinate of the label.

width
Single

Width of the label.

height
Single

Height of the label.

font
Font

Font for the text of the label.

fontSize
Single

Font size of the text of the label.

Licensing Info

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

Label(String, Single, Single, Single, Single, Font, Single, Color)

Initializes a new instance of the Label class.

public Label(string text, float x, float y, float width, float height, Font font, float fontSize, Color textColor)
Public Sub New (text As String, x As Single, y As Single, width As Single, height As Single, font As Font, fontSize As Single, textColor As Color)

Parameters

text
String

Text to display in the label.

x
Single

X coordinate of the label.

y
Single

Y coordinate of the label.

width
Single

Width of the label.

height
Single

Height of the label.

font
Font

Font for the text of the label.

fontSize
Single

Font size of the text of the label.

textColor
Color

Color of the text of the label.

Licensing Info

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

Label(String, Single, Single, Single, Single, Font, Single, TextAlign)

Initializes a new instance of the Label class.

public Label(string text, float x, float y, float width, float height, Font font, float fontSize, TextAlign align)
Public Sub New (text As String, x As Single, y As Single, width As Single, height As Single, font As Font, fontSize As Single, align As TextAlign)

Parameters

text
String

Text to display in the label.

x
Single

X coordinate of the label.

y
Single

Y coordinate of the label.

width
Single

Width of the label.

height
Single

Height of the label.

font
Font

Font for the text of the label.

fontSize
Single

Font size of the text of the label.

align
TextAlign

Alignment of the text of the label.

Licensing Info

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

Label(String, Single, Single, Single, Single, Font, Single, TextAlign, Color)

Initializes a new instance of the Label class.

public Label(string text, float x, float y, float width, float height, Font font, float fontSize, TextAlign align, Color textColor)
Public Sub New (text As String, x As Single, y As Single, width As Single, height As Single, font As Font, fontSize As Single, align As TextAlign, textColor As Color)

Parameters

text
String

Text to display in the label.

x
Single

X coordinate of the label.

y
Single

Y coordinate of the label.

width
Single

Width of the label.

height
Single

Height of the label.

font
Font

Font for the text of the label.

fontSize
Single

Font size of the text of the label.

align
TextAlign

Alignment of the text of the label.

textColor
Color

Color of the text of the label.

Licensing Info

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

See Also

Label
ceTe.DynamicPDF.PageElements

In this topic