Table of Contents

Method GetMonitorEffectiveDpi

Namespace
SharpVectors.Runtime
Assembly
SharpVectors.Runtime.Wpf.dll

GetMonitorEffectiveDpi(IntPtr, out uint, out uint)

Get the Effective DPI of a monitor after a user's accessibility preferences have been applied.

public static void GetMonitorEffectiveDpi(IntPtr hMonitor, out uint dpiX, out uint dpiY)

Parameters

hMonitor IntPtr

The monitor.

dpiX uint

The dpi x.

dpiY uint

The dpi y.