Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxScalableComponent.ChangeScale(Integer,Integer) Method

Scales the component and the associated controls and/or UI elements using the specified numerator and denominator values.

#Declaration

Delphi
procedure ChangeScale(M: Integer; D: Integer); virtual;

#Parameters

Name Type
M Integer
D Integer

#Remarks

This procedure supports the internal infrastructure and is not intended to be used directly from your code. The ScaleForPPI procedure calls the ChangeScale procedure internally to adjust the component’s scaling factor according to the monitor DPI change.

The ChangeScale procedure multiplies the numerator and denominator of the component’s scaling factor by the M and D parameter values, respectively.

See Also