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.GetWorkingArea

Retrieves the working area for the monitor.

Overload List

Retrieves the working area for the monitor that is closest to the specified point.

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

Retrieves the working area for the monitor that contains the largest region of the specified rectangle.

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

Retrieves the working area for the monitor that contains the largest region of the specified control.

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

See Also

Screen Class | Screen Members | System.WinForms Namespace