Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets a back reference to the canvas object that the current context derives from.
![]() ![]() |
Syntax
HRESULT value = object.get_canvas(IHTMLCanvasElement** p);
Property values
Type: Object
The canvas object for the current context.
Standards information
- HTML Canvas 2D Context, Section 1
Remarks
You can use the ICanvasRenderingContext2D::canvas property to access the canvas object from functions where you passed in only the current CanvasRenderingContext2D object.
.png)
.png)