Provides an interface to implement methods and properties for drawing, rendering, and manipulating images and graphics on a webpage.
getContext Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. height Gets or sets the height of a canvas element on a document. toDataURL Returns the content of the current canvas as an image that you can use as a source for another canvas or an HTML element (such as img). width Gets or sets the width of a canvas element on a document.
Stock Implementation mshtml.dll Custom Implementation No Inherits from IDispatch Header and IDL files mshtml.h, mshtml.idl Minimum availability Internet Explorer 9 Minimum operating systems Windows Vista SP1, Windows 7