## Device<TGraphicContext,TRenderingOptions>.BeginDocument method

Begins rendering of the document.

```csharp
public virtual void BeginDocument(Document document)
```

| Parameter | Type | Description |
| --- | --- | --- |
| document | Document | The document. |

### See Also

* class [Document](../../../aspose.html.dom/document/)
* class [Device&lt;TGraphicContext,TRenderingOptions&gt;](../)
* namespace [Aspose.Html.Rendering](../../../aspose.html.rendering/)
* assembly [Aspose.HTML](../../../)
