Font.stringHeight

Warning gdk_string_height is deprecated and should not be used in newly-written code. Determines the total height of a given nul-terminated string. This value is not generally useful, because you cannot determine how this total height will be drawn in relation to the baseline. See gdk_string_extents().

class Font
int
stringHeight
(
string string
)

Parameters

string string

the nul-terminated string to measure.

Return Value

Type: int

the height of the string in pixels.

Meta