LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Create Method
See Also 
Leadtools.Annotations Namespace > AnnFont Class : Create Method



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

The Create Method is available in LEADTOOLS Document and Medical Imaging toolkits.

graphics
Specifies the System.Drawing.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 System.Drawing.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+ System.Drawing.Font object created from this AnnFont.

Example

For an example, refer to AnnFont.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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