Click or drag to resize

AnnotationFont Constructor (String, Single, Boolean, Boolean, Boolean, Boolean)

Creates a new instance of AnnotationFont specifying the font parameters.

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,
	bool bold,
	bool italic,
	bool underline,
	bool strikeout
)

Parameters

fontName
Type: System.String
The name of the font.
size
Type: System.Single
The size of the font.
bold
Type: System.Boolean
Indicates if this font is bold.
italic
Type: System.Boolean
Indicates if this font is italic.
underline
Type: System.Boolean
Indicates if this font is underlined.
strikeout
Type: System.Boolean
Indicates if this font has a strikeout.
Exceptions
ExceptionCondition
ArgumentNullException Thrown if the 'fontName' argument is null (Nothing in VB) or an empty string.
ArgumentOutOfRangeException Thrown if the 'size' argument is less than or equal to 0.
See Also