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

Create Method (AnnFont)






Specifies the System.Drawing.Graphics object this font will be used into.
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
public virtual Font Create( 
   Graphics graphics,
   AnnUnitConverter converter
)
'Declaration
 
Public Overridable Function Create( _
   ByVal graphics As Graphics, _
   ByVal converter As AnnUnitConverter _
) As Font
'Usage
 
Dim instance As AnnFont
Dim graphics As Graphics
Dim converter As AnnUnitConverter
Dim value As Font
 
value = instance.Create(graphics, converter)
public virtual Font Create( 
   Graphics graphics,
   AnnUnitConverter converter
)
 function Leadtools.Annotations.AnnFont.Create( 
   graphics ,
   converter 
)
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: 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

 

 


Products | Support | Contact Us | Copyright Notices

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