TextObject Constructor (String, Double)

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Initializes a new instance of the TextObject class.

Namespace:  Apitron.PDF.Kit.FixedLayout.Content
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public TextObject(
	string fontResourceID,
	double fontSize
)

Parameters

fontResourceID
Type: SystemString
The font resource ID or the font name or path to the font file. Sets the initial font.
fontSize
Type: SystemDouble
Size of the font. Sets the initial font size.
Remarks

Examples

C#
TextObject text = new TextObject("MyHelvetica", 11);
See Also

Reference