## DocDevice.Clip method

Modifies the current clipping path by intersecting it with the current path, using the FillMode rule to determine the region to fill. This method terminates current path.

```csharp
public override void Clip(FillRule mode)
```

| Parameter | Type | Description |
| --- | --- | --- |
| mode | FillRule | Filling mode specifies how the interior of a closed path is clipped |

### See Also

* enum [FillRule](../../../aspose.html.rendering/fillrule/)
* class [DocDevice](../)
* namespace [Aspose.Html.Rendering.Doc](../../../aspose.html.rendering.doc/)
* assembly [Aspose.HTML](../../../)
