Skip to main content

TdxCustomForm.ScaleForPPI(Integer,PRect) Method

Scales the form and DPI-aware DevExpress components within it according to the specified DPI value.

Declaration

procedure ScaleForPPI(ATargetDPI: Integer; AWindowRect: PRect); reintroduce; overload; virtual;

Parameters

Name Type Description
ATargetDPI Integer

The target monitor DPI.

AWindowRect PRect

The pointer to the form’s bounding rectangle.

See Also