TTMSFNCUtils.SetFontSize Method
Sets the font size in points, adjusting for an optional DPI scale factor.
API unit family: TMSFNCUtils
Declaring type: TTMSFNCUtils
Syntax
class procedure SetFontSize(AFont: TFont; ASize: Single; AScaleFactor: Single = 1);
Parameters
| Name | Description |
|---|---|
AFont |
The font whose size is to be set. |
ASize |
Desired font size in points. |
AScaleFactor |
DPI scale multiplier; defaults to 1 (no scaling). |