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

Retrieves the bounds of the monitor.

Overload List

Retrieves the bounds of the monitor that contains the largest region of the specified rectangle.

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

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

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

Retrieves the bounds of the monitor that contains the largest region of the specified control.

[Visual Basic] Overloads Public Shared Function GetBounds(Control) As Rectangle
[C#] public static Rectangle GetBounds(Control);
[C++] public: static Rectangle GetBounds(Control*);
[JScript] public static function GetBounds(Control) : Rectangle;

See Also

Screen Class | Screen Members | System.WinForms Namespace