TTMSFNCGraphics.CalculateTextSizeInt Method
Returns the single-line bounding size of
ATextas aTSizein integer pixels using the current font.
API unit family: TMSFNCGraphics
Declaring type: TTMSFNCGraphics
Syntax
function CalculateTextSizeInt(AText: string): TSize; overload; virtual;
Parameters
| Name | Description |
|---|---|
AText |
Text string to measure. |
Returns
The width and height of the rendered text as a TSize in whole pixels.