scrollWidth property

Retrieves the scrolling width of the object.

Syntax

HRESULT value = object.get_scrollWidth(* p);

Property values

Type: long

Pointer to a nonnegative long integer that specifies the width, in pixels.

Remarks

The width is the distance between the left and right edges of the object's visible content.

This property is read-only on HTML documents, and read-write on fixed regions.

For more information about how to access the dimension and location of objects on the page through the Document Object Model (DOM), see Measuring Element Dimension and Location with CSSOM in Internet Explorer 9.

See also

Reference

IHTMLElement2::scrollHeight

IHTMLElement2::scrollLeft

IHTMLElement2::scrollTop