FontMetrics.Ascender Property

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

Namespace: Aurigma.GraphicsMill.AdvancedDrawing
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public float Ascender { get; }

Property Value

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

Remarks

Unfortunately, font formats do not define the ascender in a uniform way. For some formats, it represents the ascent of all capital latin characters (without accents), for others it is the ascent of the highest accented character, and finally, other formats define it as being equal to the maximum y coordinate of the black box.

See Also

Reference

Manual