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

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