## Image.GetBounds method

Gets the bounds of the image in the specified unit.

```csharp
public RectangleF GetBounds(ref GraphicsUnit pageUnit)
```

| Parameter | Type | Description |
| --- | --- | --- |
| pageUnit | GraphicsUnit& | One of the GraphicsUnit values indicating the unit of measure for the bounding rectangle. |

### Return Value

The RectangleF that represents the bounds of the image, in the specified unit.

### See Also

* struct [RectangleF](../../rectanglef/)
* enum [GraphicsUnit](../../graphicsunit/)
* class [Image](../)
* namespace [Aspose.Drawing](../../image/)
* assembly [Aspose.Drawing.Common](../../../)


