YouTip LogoYouTip

Prop Canvas Imagedata Height

# HTML canvas ImageData height Property [![Image 8: Canvas Object Reference](#) Canvas Object](#) ## Example Output the height of the ImageData object: alert("Height of imgData is: " + imgData.height); [Try it Yourself Β»](#) * * * ## Browser Support ![Image 9: Internet Explorer](#)![Image 10: Firefox](#)![Image 11: Opera](#)![Image 12: Google Chrome](#)![Image 13: Safari](#) Internet Explorer 9, Firefox, Opera, Chrome, and Safari support the ImageData height property. **Note:** Internet Explorer 8 and earlier versions do not support the element. * * * ## Definition and Usage The height property returns the height of the ImageData object, in pixels. **Tip:** See also the [createImageData()](#), [getImageData()](#), and [putImageData()](#) methods for more information about ImageData objects. * * * ## JavaScript Syntax | JavaScript Syntax: | _imgData_.height; | | --- | * * Canvas Object](#)
← Prop Canvas Imagedata DataProp Canvas Imagedata Width β†’