Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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.
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
)
Managed Extensions for 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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