width property
Gets or sets the width of a canvas element on a document.
![]() ![]() |
Syntax
HRESULT value = object.put_width( v);HRESULT value = object.get_width(* p);
Property values
Type: long
The width of a canvas element, in pixels.
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.10
Build date: 11/12/2012

