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;
virtual System::Types::TSize __fastcall CalculateTextSizeInt(System::UnicodeString AText)/* overload */;
Parameters
| Name | Description |
|---|---|
AText |
Text string to measure. |
Returns
The width and height of the rendered text as a TSize in whole pixels.