Collapse the table of content
Expand the table of content

clientWidth property

Retrieves the width of the object including padding, but not including margin, border, or scroll bar.


HRESULT value = object.get_clientWidth(* p);

Property values

Type: long

the width of the object, in pixels.

See also

Measuring Element Dimension and Location with CSSOM in Internet Explorer 9



© 2016 Microsoft