LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

AnnFont Constructor(String,AnnLength,FontStyle)






A string representation of the System.Drawing.FontFamily object for the new AnnFont object.
The em-size of the new font.
The System.Drawing.FontStyle of the new font.
Initializes a new AnnFont object with the specified family, size and style.
Syntax
public AnnFont( 
   string familyName,
   AnnLength size,
   FontStyle style
)
'Declaration
 
Public Function New( _
   ByVal familyName As String, _
   ByVal size As AnnLength, _
   ByVal style As FontStyle _
)
'Usage
 
Dim familyName As String
Dim size As AnnLength
Dim style As FontStyle
 
Dim instance As New AnnFont(familyName, size, style)
public AnnFont( 
   string familyName,
   AnnLength size,
   FontStyle style
)
function AnnFont( 
   familyName ,
   size ,
   style 
)
public:
AnnFont( 
   String^ familyName,
   AnnLength size,
   FontStyle style
)

Parameters

familyName
A string representation of the System.Drawing.FontFamily object for the new AnnFont object.
size
The em-size of the new font.
style
The System.Drawing.FontStyle of the new font.
Example
For an example, refer to AnnFont.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnFont Class
AnnFont Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.