IHTMLCanvasElement interface

TBD.

Members

The IHTMLCanvasElement interface inherits from the IUnknown interface. IHTMLCanvasElement also has these types of members:

  • Methods
  • Properties

Methods

The IHTMLCanvasElement interface has these methods.

Method Description
getContext

Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in 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).

 

Properties

The IHTMLCanvasElement interface has these properties.

Property Description

height

Gets or sets the height of a canvas element on a document.

width

Gets or sets the width of a canvas element on a document.

 

 

 

Send comments about this topic to Microsoft

Build date: 1/23/2012