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

TdxStrokeOptions.ChangeScale(Integer,Integer) Method

Scales the current line width according to the specified scale factor.

#Declaration

Delphi
procedure ChangeScale(M: Integer; D: Integer);

#Parameters

Name Type Description
M Integer

The target scale factor’s numerator.

D Integer

The target scale factor’s denominator.

#Remarks

DevExpress components call the ChangeScale procedure internally to scale line width according to the target monitor DPI.

Warning

Call the ChangeScale procedure only if you use the TdxStrokeOptions class in a custom component.

See Also