Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
clientWidth

clientWidth property

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

Syntax

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft