Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32🞂TBitmap32🞂TextHeightMethodPublic

TBitmap32.TextHeight

Returns the height in pixels of a text string when rendered using current Font.

Declaration ​

pascal
function TextHeight(const Text: string): Integer;

Parameters ​

ParameterTypeDescription
TextstringText string to measure.

Returns ​

TypeDescription
IntegerHeight in pixels.

Description ​

TextHeight returns the vertical extent (height) in pixels required to render Text using the bitmap's current Font.

See also ​