| MonitorInfoGetDpi Method |
Gets the dpi of the display. If the window is not on any monitor the primary monitor's
dpi is returned instead.
On Windows version lower than 8, the dpi is the same for all monitors.
Namespace:
Cauldron
Assembly:
Cauldron.Win32.MonitorInfo (in Cauldron.Win32.MonitorInfo.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax Parameters
- windowHandle
- Type: SystemIntPtr
The handle of the window displayed by the monitor
Return Value
Type:
MonitorDpiThe dpi of the current display
See Also