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

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

Syntax

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

Parameters

name
The font family Name.
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.