Font Constructor (String, String, Int32)

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

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

public Font(
	string resourceID,
	string fontDefinition,
	int fontIndex = 0
)

Parameters

resourceID
Type: SystemString
The id.
fontDefinition
Type: SystemString
Name of the file.
fontIndex (Optional)
Type: SystemInt32
Index of the font (significant only for TTC font files).
Examples

C#
Font font = new Font("myFont", "../arial.ttc", 10);
See Also

Reference