
## render_to {#aspose.html.rendering.IDevice}

This method is used to print the contents of the current document to the specified device.



```python
def render_to(self, device):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| device | aspose.html.rendering.IDevice | The user device. |



### See Also
* module [`aspose.html`](../../)
* class [`HTMLDocument`](/html/python-net/aspose.html/htmldocument)
