Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

dxGetMonitorDPI(TPoint) Method

Returns the specified monitor device’s DPI.

#Declaration

Delphi
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