Declaration ​
pascal
function TextHeight(const Text: string): Integer;Parameters ​
| Parameter | Type | Description |
|---|---|---|
Text | string | Text string to measure. |
Returns ​
| Type | Description |
|---|---|
Integer | Height in pixels. |
Description ​
TextHeight returns the vertical extent (height) in pixels required to render Text using the bitmap's current Font.