FontMetrics Properties

The FontMetrics type exposes the following members.

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