get_text_height


Description:

public int get_text_height (string? text)

Gets the height of a string using the specified font.

The string must contain valid UTF-8. Check using validate first if text is from an unknown source.

Parameters:

this

the font

text

the text

Returns:

the height