Union()

Rectangle::Union(const Rectangle&, const Rectangle&) method

Returns a rectangle that is a result of union of the specified rectangles.

static Rectangle System::Drawing::Rectangle::Union(const Rectangle &a, const Rectangle &b)

Arguments

ParameterTypeDescription
aconst Rectangle&The first rectangle to union
bconst Rectangle&The second rectangle to union

Return Value

The result of union of a with b

See Also