TdxCustomForm.ScaleForPPI(Integer,PRect) Method
Scales the form according to the specified DPI value.
Declaration
procedure ScaleForPPI(ATargetDPI: Integer; AWindowRect: PRect); reintroduce; overload; virtual;
Parameters
Name | Type |
---|---|
ATargetDPI | Integer |
AWindowRect | PRect |
Remarks
Call this procedure to scale the form and its components according to the ATargetDPI parameter value. Calling the ScaleForPPI procedure has no effect if the internally stored DPI value matches ATargetDPI.
See Also