height = WinXDraw_GetFontHeight (hFont, @ascent, @descenct)
Gets the height of a font
Parameter | Description |
---|---|
hFont | The handle to the font to get the height of |
@ascent | The variable to store the ascent height |
@descent | The variable to store the descent height |
The height of the font
Sometimes you have a handle to a font, but no LOGFONT structure. You can use this function to get the font height and also the ascention and descention if you need them.
' Get the height of a system font |