Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
AnnFont Constructor(String,AnnLength,FontStyle)
See Also 
Leadtools.Annotations Namespace > AnnFont Class > AnnFont Constructor : AnnFont Constructor(String,AnnLength,FontStyle)



familyName
A string representation of the FontFamily object for the new AnnFont object.
size
The em-size of the new font.
style
The FontStyle of the new font.
Initializes a new AnnFont object with the specified family, size and style.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal familyName As String, _
   ByVal size As AnnLength, _
   ByVal style As FontStyle _
)
Visual Basic (Usage)Copy Code
Dim familyName As String
Dim size As AnnLength
Dim style As FontStyle
 
Dim instance As AnnFont(familyName, size, style)
C# 
public AnnFont( 
   string familyName,
   AnnLength size,
   FontStyle style
)
C++/CLI 
public:
AnnFont( 
   String^ familyName,
   AnnLength size,
   FontStyle style
)

Parameters

familyName
A string representation of the FontFamily object for the new AnnFont object.
size
The em-size of the new font.
style
The FontStyle of the new font.

Example

For an example, refer to AnnFont.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features