Skip to main content

TdxForm.ChangeScale(Integer,Integer) Method

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

Declaration

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