dxDesktopScaleFactor Method
Returns the scale factor corresponding to the current monitor or system DPI.
Declaration
function dxDesktopScaleFactor: TdxScaleFactor;
Returns
Type |
---|
TdxScaleFactor |
Remarks
This function calculates the scale factor in the case of:
Per-monitor DPI-aware applications as the ratio between the dxGetDesktopDPI function result and the dxDefaultDPI global constant;
System DPI-aware applications as the ratio between the dxGetSystemDPI function result and the dxDefaultDPI global constant.
See Also