RectangleF::Contains Method (RectangleF)

 

Determines if the rectangular region represented by rect is entirely contained within this RectangleF structure.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public:
bool Contains(
	RectangleF rect
)

Parameters

rect
Type: System.Drawing::RectangleF

The RectangleF to test.

Return Value

Type: System::Boolean

This method returns true if the rectangular region represented by rect is entirely contained within the rectangular region represented by this RectangleF; otherwise false.

.NET Framework
Available since 1.1
Return to top
Show: