TdxCustomForm.ScaleFactor Property
Returns the form’s scaling factor.
Declaration
property ScaleFactor: TdxScaleFactor read;
Property Value
Type | Description |
---|---|
TdxScaleFactor | The current scale factor. |
Remarks
This property value changes every time your application accepts the WM_DPICHANGED
system message. You can use the ScaleFactor
property to identify the scaling factor’s numerator and denominator values applied to all DevExpress controls on the form. This property is particularly useful if you need to scale the custom paint geometric shapes 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