TdxStrokeOptions.ChangeScale(Integer,Integer) Method
Scales the current line width according to the specified scale factor.
Declaration
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