## Rectangle::Union method


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

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


| Parameter | Type | Description |
| --- | --- | --- |
| a | const Rectangle\& | The first rectangle to union |
| b | const Rectangle\& | The second rectangle to union |

### ReturnValue

The result of union of **a** with **b**

## See Also

* Class [Rectangle](../)
* Class [Rectangle](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.TeX for C++](../../../)
