Font Methods

The Font type exposes the following members.

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.)

See Also

Reference