Click or drag to resize

MonitorInfo Methods

The MonitorInfo type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetCurrentOrientation
Returns the orientation of the current view
Public methodStatic memberGetDpi
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.

Public methodStatic memberGetMonitorBounds
Gets the bounds of the monitor that contains the defined window
Public methodStatic memberWindowIsInAnyMonitor
Determines if the window is shown in any of the monitors.
Public methodStatic memberWmGetMinMaxInfo
Sent to a window when the size or position of the window is about to change. An application can use this message to override the window's default maximized size and position, or its default minimum or maximum tracking size.
Top
See Also