---
title: "Graphics.FillRegion"
url: "https://reference.aspose.com/psd/net/aspose.psd/graphics/fillregion/"
product: "Aspose.PSD for .NET API Reference"
description: "Graphics method. Fills the interior of a Region"
---

{{< psd/tize >}}
## Graphics.FillRegion method

Fills the interior of a [`Region`](../../region/).

```csharp
public void FillRegion(Brush brush, Region region)
```

| Parameter | Type | Description |
| --- | --- | --- |
| brush | Brush | [`Brush`](../../brush/) that determines the characteristics of the fill. |
| region | Region | [`Region`](../../region/) that represents the area to fill. |

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | *brush* is null. -or- *region* is null. |

### See Also

* class [Brush](../../brush/)
* class [Region](../../region/)
* class [Graphics](../)
* namespace [Aspose.PSD](../../../aspose.psd/)
* assembly [Aspose.PSD](../../../)


