Click or drag to resize

AnnotationFont Constructor (String, Single)

Creates a new instance of AnnotationFont specifying the font name and size.

Namespace:  Atalasoft.Annotate
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public AnnotationFont(
	string fontName,
	float size
)

Parameters

fontName
Type: SystemString
The name of the font.
size
Type: SystemSingle
The size of the font.
Exceptions
ExceptionCondition
ArgumentNullException Thrown if the 'fontName' is null (Nothing in VB) or an empty string.
ArgumentOutOfRangeException Thrown if the 'size' argument is less than or equal to 0.
See Also