TdxForm.ScaleBy(Integer,Integer) Method
Changes the form’s scale factor.
Declaration
procedure ScaleBy(M: Integer; D: Integer);
Parameters
Name | Type | Description |
---|---|---|
M | Integer | The new scale factor multiplier that updates the ScaleFactor.Numerator property. |
D | Integer | The new scale factor denominator that updates the ScaleFactor.Denominator property. |
Remarks
ScaleBy
and ScaleForPPI procedures are called automatically in a DPI-aware application every time it accepts the WM_DPICHANGED
[1] system message.
Footnotes
See Also