System::Drawing::Rectangle::Union method

Rectangle::Union 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)
ParameterTypeDescription
aconst Rectangle&The first rectangle to union
bconst Rectangle&The second rectangle to union

ReturnValue

The result of union of a with b

See Also