## Region.IsEmpty method

Tests whether this [`Region`](../) has an empty interior on the specified drawing surface.

```csharp
public bool IsEmpty(Graphics g)
```

| Parameter | Type | Description |
| --- | --- | --- |
| g | Graphics | A [`Graphics`](../../graphics/) that represents a drawing surface. |

### Return Value

true if the interior of this [`Region`](../) is empty when the transformation associated with *g* is applied; otherwise, false.

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | *g* is null. |

### See Also

* class [Graphics](../../graphics/)
* class [Region](../)
* namespace [Aspose.Imaging](../../region/)
* assembly [Aspose.Imaging](../../../)


