## Region.GetBounds method

Gets a RectangleF structure that represents a rectangle that bounds this Region on the drawing surface of a Graphics object.

```csharp
public RectangleF GetBounds(Graphics g)
```

| Parameter | Type | Description |
| --- | --- | --- |
| g | Graphics | The Graphics on which this Region is drawn. |

### Return Value

A RectangleF structure that represents the bounding rectangle for this Region on the specified drawing surface.

### See Also

* struct [RectangleF](../../rectanglef/)
* class [Graphics](../../graphics/)
* class [Region](../)
* namespace [System.Drawing](../../region/)
* assembly [Aspose.Drawing](../../../)


