## Rectangle::Union method


返回由指定矩形合并得到的矩形。

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


| Parameter | Type | 描述 |
| --- | --- | --- |
| 一个 | const Rectangle\& | 要进行并集的第一个矩形 |
| b | const Rectangle\& | 要进行并集的第二个矩形 |

### ReturnValue

**a** 与 **b** 并集的结果

## 另见

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