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

TdxForm.ChangeScale(Integer,Integer) Method

Multiplies the form’s scale factor by the specified scale factor.

#Declaration

Delphi
procedure ChangeScale(M: Integer; D: Integer); overload; override; final;

#Parameters

Name Type Description
M Integer

The required multiplier value.

The procedure multiplies this value by the ScaleFactor.Numerator property value to scale the form.

D Integer

The required denominator value.

The procedure multiplies this value by the ScaleFactor.Denominator property to scale the form.

#Remarks

The ChangeScale procedure uses the ScaleFactor property as the base scale factor and multiplies its multiplier and denominator by M and D parameter values, respectively.

Note

Unlike ChangeScale, the ScaleBy procedure assigns a new scale factor to the form.

See Also