Font Constructor (String, Double)

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

Namespace:  Apitron.PDF.Kit.Styles.Text
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public Font(
	string resourceID,
	double fontSizeInPoints
)

Parameters

resourceID
Type: SystemString
The resource ID.
fontSizeInPoints
Type: SystemDouble
The font size in points.
Exceptions

ExceptionCondition
ArgumentNullExceptionWhen resourceId is null or empty.
ArgumentOutOfRangeExceptionWhen font size is less or equal zero.
See Also

Reference