The AnnFont Constructor(String,AnnLength,FontStyle) is available in LEADTOOLS Document and Medical Imaging toolkits.
Initializes a new AnnFont object with the specified family, size and style.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 New AnnFont(familyName, size, 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.
For an example, refer to AnnFont.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7