CodeCarvings.Piczard
FontDefinition Constructor(Generic Nullable,Single)
See Also  Send Feedback
CodeCarvings.Piczard Namespace > FontDefinition Class > FontDefinition Constructor : FontDefinition Constructor(Generic Nullable,Single)

unit
The graphics unit in which the Size is expressed.
size
The Size of the text.
Initializes a new instance of the FontDefinition class and sets the Size of the text.

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal unit As Nullable(Of GfxUnit), _
   ByVal size As Single _
)
C#  
public FontDefinition( 
   Nullable<GfxUnit> unit,
   float size
)

Parameters

unit
The graphics unit in which the Size is expressed.
size
The Size of the text.

Remarks

If the value of the Unit parameter is null, then the default unit is used.
Please see Font.Unit for additional details about the default unit.

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.