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.ScaleBy(Integer,Integer) Method

Changes the form’s scale factor.

#Declaration

Delphi
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
  1. An application accepts the WM_DPICHANGED system message only if the application manifest includes the permonitor or permonitorv2 item.

See Also