TcxScalableComponent.ChangeScale(Integer,Integer) Method
Scales the component and the associated controls and/or UI elements using the specified numerator and denominator values.
Declaration
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