Back to Devexpress

dxGetMonitorDPI(TPoint) Method

vcl-dxdpiawareutils-dot-dxgetmonitordpi-x28-f4c16ad9-x29.md

latest1.1 KB
Original Source

dxGetMonitorDPI(TPoint) Method

Returns the specified monitor device’s DPI.

Declaration

delphi
function dxGetMonitorDPI(const AScreenPoint: TPoint): Integer;

Parameters

NameType
AScreenPointTPoint

Returns

Type
Integer

Remarks

The first overloaded variant of the dxGetMonitorDPI global function returns the DPI value of a monitor passed as the AMonitor parameter. The second overloaded variant returns the DPI value of the monitor identified by a screen space position passed as the AScreenPoint parameter.

See Also

dxDPIAwareUtils.dxGetCurrentDPI

dxDPIAwareUtils.dxGetDesktopDPI

dxDPIAwareUtils.dxGetFormDPI

dxDPIAwareUtils.dxGetSystemDPI

dxDPIAwareUtils Unit