Back to Devexpress

dxSystemScaleFactor Method

vcl-dxdpiawareutils-352b90c7.md

latest609 B
Original Source

dxSystemScaleFactor Method

Returns the scale factor corresponding to the current system DPI.

Declaration

delphi
function dxSystemScaleFactor: TdxScaleFactor;

Returns

Type
TdxScaleFactor

Remarks

This function calculates the scale factor as the ratio between the dxGetSystemDPI function result and the dxDefaultDPI global constant.

See Also

dxDPIAwareUtils Unit