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