height (CanvasImageData)

height property

Gets the number of rows of physical device pixels in the CanvasImageData object.

HTML Canvas 2D Context, Section 13

 

Syntax

JavaScript

p = object.height

 

Property values

Type: Integer

The number of rows of physical device pixels in the CanvasImageData object.

Standards information

Remarks

For an example of using length, see Sampling image colors with Canvas.

See also

CanvasImageData

 

 

Show:
© 2017 Microsoft