Class EmfFontInfo
Contains the effective LOGFONTW values selected for an EMF text unit.
Inherited Members
Namespace: DRIT.Drawing.Metafile
Assembly: DRIT.Drawing.dll
Syntax
public sealed class EmfFontInfo
Constructors
EmfFontInfo()
Initializes an empty EmfFontInfo instance.
Declaration
public EmfFontInfo()
Properties
CharSet
Gets the character set identifier.
Declaration
public byte CharSet { get; }
Property Value
| Type | Description |
|---|---|
| byte |
Escapement
Gets the character escapement angle in tenths of a degree.
Declaration
public int Escapement { get; }
Property Value
| Type | Description |
|---|---|
| int |
FaceName
Gets the face name stored in the LOGFONTW structure.
Declaration
public string FaceName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Height
Gets the logical font height in EMF units.
Declaration
public int Height { get; }
Property Value
| Type | Description |
|---|---|
| int |
Italic
Gets whether the font is italic.
Declaration
public bool Italic { get; }
Property Value
| Type | Description |
|---|---|
| bool |
ObjectHandle
Gets the EMF object handle.
Declaration
public uint ObjectHandle { get; }
Property Value
| Type | Description |
|---|---|
| uint |
Orientation
Gets the character orientation angle in tenths of a degree.
Declaration
public int Orientation { get; }
Property Value
| Type | Description |
|---|---|
| int |
StrikeOut
Gets whether the font is struck out.
Declaration
public bool StrikeOut { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Underline
Gets whether the font is underlined.
Declaration
public bool Underline { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Weight
Gets the font weight.
Declaration
public int Weight { get; }
Property Value
| Type | Description |
|---|---|
| int |
Width
Gets the logical font width in EMF units.
Declaration
public int Width { get; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
ToString()
Returns the key font identity and metrics.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |