TextHeight

Graphics32

TBitmap32.TextHeight

function TextHeight(const Text: String): Integer;

function TextHeightW(const Text: Widestring): Integer;

Description

Returns the height, in pixels, of a string rendered in the current Font.

 

Please note that the CLX versions of the non-Unicode methods do also default to Widestring because that is the native QT string format.

 

See Also

Font, RenderText, TextExtent, TextOut, TextWidth