Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft