Font.textHeight

Warning gdk_text_height is deprecated and should not be used in newly-written code. Determines the total height of a given 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_text_extents().

class Font
int
textHeight
(
string text
,)

Parameters

text string

the text to measure.

textLength int

the length of the text in bytes.

Return Value

Type: int

the height of the string in pixels.

Meta