VintaSoft Imaging .NET SDK 15.2: Documentation for .NET developer
Vintasoft.Imaging.Annotation Namespace / AnnotationFont Class / AnnotationFont Constructors / AnnotationFont Constructor(String,Single,Boolean,Boolean,Boolean,Boolean,AnnotationFontUnit)
Syntax Requirements SeeAlso
In This Topic
AnnotationFont Constructor(String,Single,Boolean,Boolean,Boolean,Boolean,AnnotationFontUnit)
In This Topic
Initializes a new instance of the AnnotationFont class.
Syntax
'Declaration

Public Function New( _
ByVal familyName
The name of font family.
As System.String, _
ByVal size
The font size specified in unit.
As Single, _
ByVal bold
A value indicating whether the font is bold.
As Boolean, _
ByVal italic
A value indicating whether the font has the italic style applied.
As Boolean, _
ByVal strikeout
A value indicating whether the font specifies a horizontal line through the font.
As Boolean, _
ByVal underline
A value indicating whether the font is underlined.
As Boolean, _
ByVal unit
Unit of measure for font size.
As AnnotationFontUnit _
)
public AnnotationFont(
System.String familyName,
float size,
bool bold,
bool italic,
bool strikeout,
bool underline,
AnnotationFontUnit unit
)

Parameters

familyName
The name of font family.
size
The font size specified in unit.
bold
A value indicating whether the font is bold.
italic
A value indicating whether the font has the italic style applied.
strikeout
A value indicating whether the font specifies a horizontal line through the font.
underline
A value indicating whether the font is underlined.
unit
Unit of measure for font size.
Requirements

Target Platforms: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also