Easy Tutorial
❮ Prop Table Tfoot Prop Style Borderradius ❯

HTML Canvas ImageData height Property

Canvas Object

Example

Output the height of the ImageData object:


Browser Support

Internet Explorer 9, Firefox, Opera, Chrome, and Safari support the ImageData height property.

Note: Internet Explorer 8 and earlier versions do not support the <canvas> element.


Definition and Usage

The height property returns the height of the ImageData object, in pixels.

Tip: See the createImageData(), getImageData(), and putImageData() methods for more information about the ImageData object.


JavaScript Syntax

| JavaScript Syntax: | imgData.height; | | --- | --- |


Canvas Object

❮ Prop Table Tfoot Prop Style Borderradius ❯