CodeCarvings.Piczard
Unit Property
See Also  Send Feedback
CodeCarvings.Piczard Namespace > FontDefinition Class : Unit Property

Gets or sets the graphic unit in which the Size of the font is measured.

Syntax

Visual Basic (Declaration)  
Public Property Unit As Nullable(Of GfxUnit)
C#  
public Nullable<GfxUnit> Unit {get; set;}

Return Value

The GfxUnit of the current FontDefinition object.
The default value is null (default unit).

Remarks

If the value of the Unit parameter is null, then the default unit is used.

Example:
Assuming to work with a TextWatermark filter.
If TextWatermark.Font.Unit is null, then the default unit is specified by the TextWatermark.Unit property.

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.