scrollWidth
Collapse the table of content
Expand the table of content

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
IHTMLTextContainer::scrollHeight
IHTMLTextContainer::scrollLeft
IHTMLTextContainer::scrollTop

 

 

Show:
© 2016 Microsoft