Retrieves the bounds of the monitor that contains the largest region of the specified rectangle.
[Visual Basic] Overloads Public Shared Function GetBounds( _ ByVal rect As Rectangle _ ) As Rectangle [C#] public static Rectangle GetBounds( Rectangle rect ); [C++] public: static Rectangle GetBounds( Rectangle rect ); [JScript] public static function GetBounds( rect : Rectangle ) : Rectangle;
A Rectangle that specifies the bounds of the monitor that contains the specified rectangle. If no monitor contains the specified rectangle, the monitor closest to the rectangle is returned.
Screen Class | Screen Members | System.WinForms Namespace | Screen.GetBounds Overload List