Skip to main content

TdxForm.ScaleFactor Property

Returns the form’s scaling factor.


property ScaleFactor: TdxScaleFactor read;

Property Value



This property value changes every time your application receives the WM_DPICHANGED system message if the Scaled property is set to True. You can use the ScaleFactor property to identify the scaling factor’s numerator and denominator values applied to all DPI-aware DevExpress controls on the form. This property is particularly useful if you need to scale the custom paint geometric primitives by calling the ScaleFactor.Apply function.

Refer to the How to Create a Per-Monitor DPI-Aware Application topic for detailed information on adding DPI awareness to your VCL application.

See Also