## Region::GetBounds method


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

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| graphics | const SharedPtr\<Graphics\>\& | 此 [Region](../) 所绘制的 [Graphics](../../graphics/)。 |

## 另见

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