Skip to main content

dxGetMonitorDPI(TPoint) Method

Returns the specified monitor device’s DPI.

Declaration

function dxGetMonitorDPI(const AScreenPoint: TPoint): Integer;

Parameters

Name Type
AScreenPoint TPoint

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