Font Members

The Font type exposes the following members.

Constructors

Name Description
Public method Font Overloaded.

Initializes a new instance of the Font class.

Methods

Name Description
Public method Static member CreateSpecificFont

Returns a font with the requested name.

Public method Dispose

Releases all resources used by this Font.

Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetA

Returns an A spacing (from ABC metric) for the given character.

Public method GetB

Returns an B spacing (from ABC metric) for the given character.

Public method GetBlackBox Overloaded.

Returns a rectangle that describes the character black box.

Public method GetC

Returns an C spacing (from ABC metric) for the given character.

Public method GetCharacterPositions

Returns an array of x-coordinates of each character in a given text string.

Public method GetHashCode (Inherited from Object.)
Public method GetKerning

Returns a kerning value for a given pair of characters.

Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToGdiPlusFont

Gets the System.Drawing.Font containing a copy of this Font.

Public method ToString (Inherited from Object.)

Operators

Name Description
Public operator Static member Explicit

Converts the specified Aurigma.GraphicsMill.Drawing.Font instance to a System.Drawing.Font.

Public operator Static member Implicit

Converts the specified System.Drawing.Font instance to a Aurigma.GraphicsMill.Drawing.Font.

Fields

Name Description
Public field Static member FontWeightBold

Bold weight. Always 700.

Public field Static member FontWeightDoNotCare

The default weight. Always 0.

Public field Static member FontWeightExtrabold

Extra bold weight. Always 800.

Public field Static member FontWeightExtraLight

Extra light weight. Always 200.

Public field Static member FontWeightHeavy

Heavy weight. Always 900.

Public field Static member FontWeightLight

Light weight. Always 300.

Public field Static member FontWeightMedium

Medium weight. Always 500.

Public field Static member FontWeightNormal

Normal weight. Always 400.

Public field Static member FontWeightSemibold

Semibold weight. Always 600.

Public field Static member FontWeightThin

Thin weight. Always 100.

Properties

Name Description
Public property Antialiased

Gets or sets a value that indicates whether the text is antialiased.

Public property Ascent

Get an ascent of the current font.

Public property AverageCharWidth

Gets an average character width of the current font.

Public property Bold

Gets or sets a value that indicates whether the text is bold.

Public property ClearType

Gets or sets a value that indicates whether the ClearType antialiasing is used for fonts (optimized for LCD monitors).

Public property Descent

Get an descent of the current font.

Public property EmHeight

Gets an em height of the font (also known as em square or em size).

Public property ExternalLeading

Gets an external leading of the current font.

Public property GdiCharset

Gets or sets a charset for displaying non-Unicode characters.

Public property HorizontalAlignment

Gets or sets a horizontal text alignment.

Public property InternalLeading

Gets an internal leading of the current font.

Public property Italic

Gets or sets a value that indicates whether the text is italic.

Public property LineGap

Gets a line gap of the current font.

Public property MaximumCharWidth

Gets a width of the widest character in the font.

Public property Name

Gets a typeface name of the font.

Public property Size

Gets or sets a font size.

Public property Strikeout

Gets or sets a value that indicates whether the text is stricken out.

Public property Tracking

Gets or sets a font tracking (also known as intercharacter spacing).

Public property Underline

Gets or sets a value that indicates whether the text is underlined.

Public property VerticalAlignment

Gets or sets a vertical text alignment.

Public property Weight

Gets or sets a font weight.

See Also

Reference