
## begin_document {#aspose.html.dom.Document}

Begins rendering of the document.



```python
def begin_document(self, document):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| document | aspose.html.dom.Document | The document. |



### See Also
* module [`aspose.html.rendering.doc`](../../)
* class [`DocDevice`](/html/python-net/aspose.html.rendering.doc/docdevice)
