dxGetDesktopDPI Method
Returns the current system or screen DPI value.
Declaration
function dxGetDesktopDPI: Integer;
Returns
Type |
---|
Integer |
Remarks
This global function returns the value stored in the HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics\AppliedDPI registry key. If the Windows registry contains no such record, the dxGetDesktopDPI function calls the dxGetSystemDPI function to retrieve the current screen device’s DPI.
See Also