iOSFont.Ascent

From Xojo Documentation

Read-Only Property (As Double )
DoubleValue = aiOSFont.Ascent

Supported on Mobile (iOS).

The ascent of the font. The ascent of a font is the distance from the tops of the tallest glyphs to the baseline.

Sample Code

Dim f As iOSFont = iOSFont.SystemFont(20) // 20-point
Dim fontAscent As Double = f.Ascent