Skip to main content
Table of Contents

TTMSFNCUtils.ScaleForDPI Method

Scales AControl and its children to match the specified DPI.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

FMX.TMSFNCUtils.hppPascalC++
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.