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