This documentation is for the old version. Go to the latest Graphics Mill docs

Font.Ascent Property

Returns ascent of the current font.

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

Syntax

Visual Basic
Public ReadOnly Property Ascent As Single
C#
public float Ascent { get; }

Property Value

Font ascent.

Remarks

Ascent is a maximum distance characters in this font extend above the base line.

Examples

Visual Basic
Dim font As New Aurigma.GraphicsMill.Drawing.Font("Arial", 12)

Console.WriteLine(font.Ascent)
C#
Aurigma.GraphicsMill.Drawing.Font font =
    new Aurigma.GraphicsMill.Drawing.Font("Arial", 12);

Console.WriteLine(font.Ascent);

See Also

Reference