## Document.RenderTo method

This method is used to render the contents of the current document to a specified graphical device.

```csharp
public virtual void RenderTo(IDevice device)
```

| Parameter | Type | Description |
| --- | --- | --- |
| device | IDevice | The user device. |

### See Also

* interface [IDevice](../../../aspose.html.rendering/idevice/)
* class [Document](../)
* namespace [Aspose.Html.Dom](../../../aspose.html.dom/)
* assembly [Aspose.HTML](../../../)
