## SetClip(Graphics) {#setclip_2}

Sets the clipping region of this [`Graphics`](../) to the Clip property of the specified [`Graphics`](../)

```csharp
public void SetClip(Graphics g)
```

| Parameter | Type | Description |
| --- | --- | --- |
| g | Graphics | The [`Graphics`](../) - to source the Clip property . |

### See Also

* class [Graphics](../)
* namespace [System.Drawing](../../graphics/)
* assembly [Aspose.Drawing](../../../)

---

## SetClip(Graphics, CombineMode) {#setclip_3}

Sets the clipping region of this [`Graphics`](../) to the result of the specified combining operation of the current clip region and the Clip property of the specified [`Graphics`](../).

```csharp
public void SetClip(Graphics g, CombineMode combineMode)
```

| Parameter | Type | Description |
| --- | --- | --- |
| g | Graphics | The [`Graphics`](../) that specifies the clip region to combine. |
| combineMode | CombineMode | The member of the [`CombineMode`](../../../system.drawing.drawing2d/combinemode/) enumeration that specifies the combining operation to use. |

### See Also

* enum [CombineMode](../../../system.drawing.drawing2d/combinemode/)
* class [Graphics](../)
* namespace [System.Drawing](../../graphics/)
* assembly [Aspose.Drawing](../../../)

---

## SetClip(Rectangle) {#setclip_4}

Sets the clipping region of this [`Graphics`](../) to the result of the specified operation combining the current clip region and the rectangle specified by a [`Rectangle`](../../rectangle/) structure.

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

| Parameter | Type | Description |
| --- | --- | --- |
| rect | Rectangle | The [`Rectangle`](../../rectangle/) structure to combine. |

### See Also

* struct [Rectangle](../../rectangle/)
* class [Graphics](../)
* namespace [System.Drawing](../../graphics/)
* assembly [Aspose.Drawing](../../../)

---

## SetClip(Rectangle, CombineMode) {#setclip_5}

Sets the clipping region of this [`Graphics`](../) to the result of the specified operation combining the current clip region and the rectangle specified by a [`Rectangle`](../../rectangle/) structure.

```csharp
public void SetClip(Rectangle rect, CombineMode combineMode)
```

| Parameter | Type | Description |
| --- | --- | --- |
| rect | Rectangle | The [`Rectangle`](../../rectangle/) structure to combine. |
| combineMode | CombineMode | The Member of the [`CombineMode`](../../../system.drawing.drawing2d/combinemode/) enumeration that specifies the combining operation to use. |

### See Also

* struct [Rectangle](../../rectangle/)
* enum [CombineMode](../../../system.drawing.drawing2d/combinemode/)
* class [Graphics](../)
* namespace [System.Drawing](../../graphics/)
* assembly [Aspose.Drawing](../../../)

---

## SetClip(RectangleF) {#setclip_6}

Sets the clipping region of this [`Graphics`](../) to the result of the specified operation combining the current clip region and the rectangle specified by a [`RectangleF`](../../rectanglef/) structure.

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

| Parameter | Type | Description |
| --- | --- | --- |
| rect | RectangleF | The [`RectangleF`](../../rectanglef/) structure to combine. |

### See Also

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

---

## SetClip(RectangleF, CombineMode) {#setclip_7}

Sets the clipping region of this [`Graphics`](../) to the result of the specified operation combining the current clip region and the rectangle specified by a [`RectangleF`](../../rectanglef/) structure.

```csharp
public void SetClip(RectangleF rect, CombineMode combineMode)
```

| Parameter | Type | Description |
| --- | --- | --- |
| rect | RectangleF | The [`Rectangle`](../../rectangle/) structure to combine. |
| combineMode | CombineMode | The combine mode. |

### See Also

* struct [RectangleF](../../rectanglef/)
* enum [CombineMode](../../../system.drawing.drawing2d/combinemode/)
* class [Graphics](../)
* namespace [System.Drawing](../../graphics/)
* assembly [Aspose.Drawing](../../../)

---

## SetClip(GraphicsPath) {#setclip}

Sets the clipping region of this [`Graphics`](../) to the specified [`GraphicsPath`](../../../system.drawing.drawing2d/graphicspath/) .

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

| Parameter | Type | Description |
| --- | --- | --- |
| path | GraphicsPath | The [`GraphicsPath`](../../../system.drawing.drawing2d/graphicspath/) that represents the new clip region. |

### See Also

* class [GraphicsPath](../../../system.drawing.drawing2d/graphicspath/)
* class [Graphics](../)
* namespace [System.Drawing](../../graphics/)
* assembly [Aspose.Drawing](../../../)

---

## SetClip(GraphicsPath, CombineMode) {#setclip_1}

Sets the clipping region of this [`Graphics`](../) to the result of the specified operation combining the current clip region and the specified [`GraphicsPath`](../../../system.drawing.drawing2d/graphicspath/).

```csharp
public void SetClip(GraphicsPath path, CombineMode combineMode)
```

| Parameter | Type | Description |
| --- | --- | --- |
| path | GraphicsPath | The [`GraphicsPath`](../../../system.drawing.drawing2d/graphicspath/) to combine.. |
| combineMode | CombineMode | The member of the [`CombineMode`](../../../system.drawing.drawing2d/combinemode/) enumeration that specifies the combining operation to use.. |

### See Also

* class [GraphicsPath](../../../system.drawing.drawing2d/graphicspath/)
* enum [CombineMode](../../../system.drawing.drawing2d/combinemode/)
* class [Graphics](../)
* namespace [System.Drawing](../../graphics/)
* assembly [Aspose.Drawing](../../../)

---

## SetClip(Region, CombineMode) {#setclip_8}

Sets the clipping region of this Graphics to the result of the specified operation combining the current clip region and the specified Region.

```csharp
public void SetClip(Region region, CombineMode combineMode)
```

| Parameter | Type | Description |
| --- | --- | --- |
| region | Region | Region to combine. |
| combineMode | CombineMode | Member from the CombineMode enumeration that specifies the combining operation to use. |

### See Also

* class [Region](../../region/)
* enum [CombineMode](../../../system.drawing.drawing2d/combinemode/)
* class [Graphics](../)
* namespace [System.Drawing](../../graphics/)
* assembly [Aspose.Drawing](../../../)


