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

defaultUnit
The default graphic unit to use in case Unit is null.
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( _
   ByVal defaultUnit As GfxUnit _
) As Font
C#  
public Font GetFont( 
   GfxUnit defaultUnit
)

Parameters

defaultUnit
The default graphic unit to use in case Unit is null.

Return Value

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

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.