## Region::GetBounds method


Gets a [RectangleF](../../rectanglef/) structure that represents a rectangle that bounds this [Region](../) on the drawing surface of a [Graphics](../../graphics/) object.

```cpp
RectangleF System::Drawing::Region::GetBounds(const SharedPtr<Graphics> &graphics) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| graphics | const SharedPtr\<Graphics\>\& | The [Graphics](../../graphics/) on which this [Region](../) is drawn. |

## See Also

* Class [RectangleF](../../rectanglef/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Graphics](../../graphics/)
* Class [Region](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.PDF for C++](../../../)
