Skip to main content

TdxFontOptions.ChangeScale(Integer,Integer) Method

Scales the current font height according to the specified scale factor.

Declaration

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

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 font height according to the target monitor DPI.

Warning

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

See Also