createImageData method

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

Returns a CanvasImageData object that has dimensions in CSS pixels.

The canvas element, Section 13Internet Explorer 9

Syntax

ICanvasImageData retVal = object.createImageData(a1, a2);

Standards information

Parameters

  • a1 [in]
    Type: VARIANT

    The width of the new object, in CSS pixels.

  • a2 [in]
    Type: VARIANT

    The height of the new object, in CSS pixels.

Remarks

When the CanvasImageData object is first created, it contains only pixels that are set to transparent black.

 

 

Build date: 1/23/2012