Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

scrollWidth property

[This documentation is preliminary and is subject to change.]

Retrieves the scrolling width of the object.


HRESULT value = object.get_scrollWidth(* p);

Property values

Type: long

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


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




Build date: 6/6/2012

Community Additions

© 2015 Microsoft