## Region::Union(const Rectangle\&) method


Replaces the region represented by the current object with the result of union of this region and a region defined by the specified rectangle.

```cpp
void System::Drawing::Region::Union(const Rectangle &rect)
```


| Parameter | Type | Description |
| --- | --- | --- |
| rect | const Rectangle\& | A rectangle that defines a region to unite this region with |

## See Also

* Class [Rectangle](../../rectangle/)
* Class [Region](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.TeX for C++](../../../)
## Region::Union(const RectangleF\&) method


Replaces the region represented by the current object with the result of union operation of this region and a region defined by the specified rectangle.

```cpp
void System::Drawing::Region::Union(const RectangleF &rect)
```


| Parameter | Type | Description |
| --- | --- | --- |
| rect | const RectangleF\& | A rectangle that defines a region to unite this region with |

## See Also

* Class [RectangleF](../../rectanglef/)
* Class [Region](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.TeX for C++](../../../)
## Region::Union(const SharedPtr\<Drawing2D::GraphicsPath\>\&) method


Replaces the region represented by the current object with the result of union of this region and a region defined by the specified path.

```cpp
void System::Drawing::Region::Union(const SharedPtr<Drawing2D::GraphicsPath> &path)
```


| Parameter | Type | Description |
| --- | --- | --- |
| path | const SharedPtr\<Drawing2D::GraphicsPath\>\& | A path that defines a region to unite this region with |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [GraphicsPath](../../../system.drawing.drawing2d/graphicspath/)
* Class [Region](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.TeX for C++](../../../)
## Region::Union(const SharedPtr\<Region\>\&) method


Replaces the region represented by the current object with the result of union of this region and and the specified region.

```cpp
void System::Drawing::Region::Union(const SharedPtr<Region> &region)
```


| Parameter | Type | Description |
| --- | --- | --- |
| region | const SharedPtr\<Region\>\& | A region to unite this region with |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Region](../)
* Class [Region](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.TeX for C++](../../../)
