Overview | Methods | Fields | This Package | All Packages
Retrieves the working area for the monitor that is closest to the specified point or that contains the largest region of the specified rectangle or control.
Syntax
public static Rectangle getWorkingArea( Point pt )
public static Rectangle getWorkingArea( Rectangle rect )
public static Rectangle getWorkingArea( Control ctl )
Parameters
pt
A Point object that specifies the coordinates for which to retrieve the working area.
rect
A Rectangle object that specifies the area for which to retrieve the working area.
ctl
The Control object for which to retrieve the working area.
Return Value
Returns a Rectangle object that specifies the working area for the appropriate monitor. If no monitor contains the specified object, the monitor closest to the object is returned.
See Also getBounds