TTMSFNCUtils.ScaleForDPI Method
Scales
AControland its children to match the specified DPI.
API unit family: TMSFNCUtils
Declaring type: TTMSFNCUtils
Syntax
class procedure ScaleForDPI(AControl: TControl; ADPI: Integer);
__classmethod void __fastcall ScaleForDPI(Fmx::Controls::TControl* AControl, int ADPI);
Parameters
| Name | Description |
|---|---|
AControl |
The control to scale. |
ADPI |
Target DPI value. |