NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Screen.GetBounds (Point)

Retrieves the bounds of the monitor that is closest to the specified point.

[Visual Basic]
Overloads Public Shared Function GetBounds( _
   ByVal pt As Point _
) As Rectangle
[C#]
public static Rectangle GetBounds(
   Point pt
);
[C++]
public: static Rectangle GetBounds(
   Point pt
);
[JScript]
public static function GetBounds(
   pt : Point
) : Rectangle;

Parameters

pt
A Point that specifies the coordinates for which to retrieve the monitor bounds.

Return Value

A Rectangle that specifies the bounds of the monitor that contains the specified point. If no monitor contains the specified point, the monitor closest to the point is returned.

See Also

Screen Class | Screen Members | System.WinForms Namespace | Screen.GetBounds Overload List