Changes this rectangle to represent the union of itself and a supplied rectangle. The union is the smallest rectangle that contains both rectangles.
Syntax

[C#]

static Rectangle Union(Rectangle a, Rectangle b);

[Visual Basic]

Shared Function Union(a As Rectangle, b As Rectangle) As Rectangle
Params
Name Description
a The first rectangle to union.
b The second rectangle to union.
return The new resultant rectangle.
Notes

None.

Example

None.