---
title: "ICanvasRenderingContext2D.Canvas"
url: "https://reference.aspose.com/html/net/aspose.html.dom.canvas/icanvasrenderingcontext2d/canvas/"
product: "Aspose.HTML for .NET API Reference"
description: "ICanvasRenderingContext2D Canvas property. A read-only back-reference to the HTMLCanvasElement. Might be null if it is not associated with a canvas element"
---

## ICanvasRenderingContext2D.Canvas property

A read-only back-reference to the HTMLCanvasElement. Might be null if it is not associated with a canvas element.

```csharp
public HTMLCanvasElement Canvas { get; }
```

### See Also

* class [HTMLCanvasElement](../../../aspose.html/htmlcanvaselement/)
* interface [ICanvasRenderingContext2D](../)
* namespace [Aspose.Html.Dom.Canvas](../../../aspose.html.dom.canvas/)
* assembly [Aspose.HTML](../../../)
