Region::Union Method (Rectangle)

 

Updates this Region to the union of itself and the specified Rectangle structure.

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

public:
void Union(
	Rectangle rect
)

Parameters

rect
Type: System.Drawing::Rectangle

The Rectangle structure to unite with this Region.

For a code example, see the Union(RectangleF) method.

.NET Framework
Available since 1.1
Return to top
Show: