CodeCarvings.Piczard
GetFont() Method
See Also  Send Feedback
CodeCarvings.Piczard Namespace > FontDefinition Class > GetFont Method : GetFont() Method

Gets a new instance of the Font class configured according to the parameters contained in the current FontDefinition object (size, family name, style, etc..).

Syntax

Visual Basic (Declaration)  
Public Overloads Function GetFont() As Font
C#  
public Font GetFont()

Return Value

The Font object that can be uses with the System.Drawing / GDI+ methods.

Remarks

In case Unit is null, the default graphic unit is GfxUnit.Pixel (please see also CommonData.DefaultUnit).

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.