FontMetrics Members

The FontMetrics type exposes the following members.

Methods

Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Properties

Name Description
Public property Ascender

Gets the vertical distance from the horizontal baseline to the highest character coordinate in a font face, in pixels.

Public property Descender

Gets the vertical distance from the horizontal baseline to the lowest character coordinate in a font face, in pixels.

Public property Height

Gets the default line spacing (the baseline-to-baseline distance), in pixels, when writing text with this font.

Public property UnderlinePosition

Gets the vertical position of the underline bar's center, relative to the baseline, in pixels.

Public property UnderlineThickness

Gets the vertical thickness of the underline.

See Also

Reference