## DocDevice.AddRect method

Appends a rectangle to the current path as a complete subpath.

```csharp
public override void AddRect(RectangleF rect)
```

| Parameter | Type | Description |
| --- | --- | --- |
| rect | RectangleF | A rectangle to draw. |

### See Also

* class [DocDevice](../)
* namespace [Aspose.Html.Rendering.Doc](../../../aspose.html.rendering.doc/)
* assembly [Aspose.HTML](../../../)
