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