Determines if the specified point is contained within the rectangular region defined by this Rectangle.
Determines if the specified point is contained within this Rectangle structure.
[Visual Basic] Overloads Public Function Contains(Point) As Boolean
[C#] public bool Contains(Point);
[C++] public: bool Contains(Point);
[JScript] public function Contains(Point) : Boolean;
Determines if the rectangular region represented by rect is entirely contained within this Rectangle structure.
Supported by the .NET Compact Framework.
[Visual Basic] Overloads Public Function Contains(Rectangle) As Boolean
[C#] public bool Contains(Rectangle);
[C++] public: bool Contains(Rectangle);
[JScript] public function Contains(Rectangle) : Boolean;
[Visual Basic] Overloads Public Function Contains(Integer, Integer) As Boolean
[C#] public bool Contains(int, int);
[C++] public: bool Contains(int, int);
[JScript] public function Contains(int, int) : Boolean;
Rectangle Structure | Rectangle Members | System.Drawing Namespace