Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Create Method
See Also 
Leadtools.Annotations Namespace > AnnFont Class : Create Method



graphics
Specifies the Graphics object this font will be used into.
converter
Specifies an AnnUnitConverter object to be used when converting the Size member of this font.
graphics
Specifies the Graphics object this font will be used into.
converter
Specifies an AnnUnitConverter object to be used when converting the Size member of this font.
Creates a new GDI+ font object using this AnnFont.

Syntax

Visual Basic (Declaration) 
Public Overridable Function Create( _
   ByVal graphics As Graphics, _
   ByVal converter As AnnUnitConverter _
) As Font
Visual Basic (Usage)Copy Code
Dim instance As AnnFont
Dim graphics As Graphics
Dim converter As AnnUnitConverter
Dim value As Font
 
value = instance.Create(graphics, converter)
C# 
public virtual Font Create( 
   Graphics graphics,
   AnnUnitConverter converter
)
C++/CLI 
public:
virtual Font Create( 
   Graphics graphics,
   AnnUnitConverter^ converter
) 

Parameters

graphics
Specifies the Graphics object this font will be used into.
converter
Specifies an AnnUnitConverter object to be used when converting the Size member of this font.

Return Value

The GDI+ Font object created from this AnnFont.

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