Click or drag to resize

MonitorInfoGetMonitorBounds Method

Gets the bounds of the monitor that contains the defined window

Namespace:  Cauldron
Assembly:  Cauldron.Win32.MonitorInfo (in Cauldron.Win32.MonitorInfo.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static Nullable<Rect> GetMonitorBounds(
	IntPtr windowHandle
)

Parameters

windowHandle
Type: SystemIntPtr
The handle of the window displayed by the monitor

Return Value

Type: NullableRect
Returns the bounds of the monitor. Returns null if window is not on any monitor.
See Also