This item was deprecated in version 2019r2. Please use Graphics.FontAscent as a replacement.
Returns the ascent of a line of text drawn with the current font.
TextAscent is the height of the tallest font letter above the font baseline.
The following example gets the TextAscent of the text that was drawn with DrawString.
g.ForeColor = &cff0000 g.Italic = True g.DrawString("Hello world", 10, 10) MsgBox(Str(g.TextAscent))
All project types on all supported operating systems.