## Region::GetBounds method


获取一个 [RectangleF](../../rectanglef/) 结构，表示在 [Graphics](../../graphics/) 对象的绘图表面上界定此 [Region](../) 的矩形。

```cpp
RectangleF System::Drawing::Region::GetBounds(const SharedPtr<Graphics> &graphics) const
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| graphics | const SharedPtr\<Graphics\>\& | 在此 [Graphics](../../graphics/) 上绘制此 [Region](../)。 |

## 另见

* Class [RectangleF](../../rectanglef/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Graphics](../../graphics/)
* Class [Region](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
