TTMSFNCGraphics.CalculateTextHeightInt Method
Returns the single-line rendered height of
ATextas a whole-pixel integer using the current font.
API unit family: TMSFNCGraphics
Declaring type: TTMSFNCGraphics
Syntax
function CalculateTextHeightInt(AText: string): Integer; overload; virtual;
Parameters
| Name | Description |
|---|---|
AText |
Text string to measure. |
Returns
The rendered height in whole pixels.