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.
| 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.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
Copy Code