Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

width property

Gets the number of physical device pixels in a row of the CanvasImageData object.

HTML Canvas 2D Context, Section 13Internet Explorer 9

Syntax

object.get_width(* number);

Property values

Type: unsigned long

The number of pixels in a row of the CanvasImageData object.

Standards information

Remarks

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

See also

Sampling image colors with Canvas

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.