dxDesktopScaleFactor Method
In This Article
Returns the scale factor corresponding to the current monitor or system DPI.
#Declaration
Delphi
function dxDesktopScaleFactor: TdxScaleFactor;
#Returns
Type |
---|
Tdx |
#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