TTMSFNCGraphics.CalculateTextInt Method
Returns the tightest bounding rectangle that encloses a single-line
ATextstring using the current font.
API unit family: TMSFNCGraphics
Declaring type: TTMSFNCGraphics
Syntax
function CalculateTextInt(AText: String): TRect; overload; virtual;
Parameters
| Name | Description |
|---|---|
AText |
Text string to measure. |
Returns
The tightest TRect enclosing the rendered text, in whole pixels.