## Exclude(RectangleF) {#exclude_2}

Updates this [`Region`](../) to contain only the portion of its interior that does not intersect with the specified [`RectangleF`](../../rectanglef/) structure.

```csharp
public void Exclude(RectangleF rect)
```

| Parameter | Type | Description |
| --- | --- | --- |
| rect | RectangleF | The [`RectangleF`](../../rectanglef/) structure to exclude from this [`Region`](../). |

### See Also

* struct [RectangleF](../../rectanglef/)
* class [Region](../)
* namespace [Aspose.Imaging](../../region/)
* assembly [Aspose.Imaging](../../../)

---

## Exclude(Rectangle) {#exclude_1}

Updates this [`Region`](../) to contain only the portion of its interior that does not intersect with the specified [`Rectangle`](../../rectangle/) structure.

```csharp
public void Exclude(Rectangle rect)
```

| Parameter | Type | Description |
| --- | --- | --- |
| rect | Rectangle | The [`Rectangle`](../../rectangle/) structure to exclude from this [`Region`](../). |

### See Also

* struct [Rectangle](../../rectangle/)
* class [Region](../)
* namespace [Aspose.Imaging](../../region/)
* assembly [Aspose.Imaging](../../../)

---

## Exclude(GraphicsPath) {#exclude}

Updates this [`Region`](../) to contain only the portion of its interior that does not intersect with the specified [`GraphicsPath`](../../graphicspath/).

```csharp
public void Exclude(GraphicsPath path)
```

| Parameter | Type | Description |
| --- | --- | --- |
| path | GraphicsPath | The [`GraphicsPath`](../../graphicspath/) to exclude from this [`Region`](../). |

### Exceptions

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

### See Also

* class [GraphicsPath](../../graphicspath/)
* class [Region](../)
* namespace [Aspose.Imaging](../../region/)
* assembly [Aspose.Imaging](../../../)

---

## Exclude(Region) {#exclude_3}

Updates this [`Region`](../) to contain only the portion of its interior that does not intersect with the specified [`Region`](../).

```csharp
public void Exclude(Region region)
```

| Parameter | Type | Description |
| --- | --- | --- |
| region | Region | The [`Region`](../) to exclude from this [`Region`](../). |

### Exceptions

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

### See Also

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


