canvas property

[This documentation is preliminary and is subject to change.]

Gets a back reference to the canvas object that the current context derives from.

HTML Canvas 2D Context, Section 1Internet Explorer 9

Syntax

HRESULT value = object.get_canvas(IHTMLCanvasElement** p);

Property values

Type: Object

The canvas object for the current context.

Standards information

Remarks

You can use the canvas property to access the canvas object from functions where you passed in only the current CanvasRenderingContext2D object.

 

 

Build date: 1/23/2012