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

scrollHeight property

Retrieves the scrolling height of the object.

Syntax

HRESULT value = object.get_scrollHeight(* p);

Property values

Type: long

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

Remarks

The height is the distance between the top and bottom edges of the object's 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 Dynamic HTML (DHTML) Object Model, see Measuring Element Dimension and Location with CSSOM in Internet Explorer 9.

See also

Reference
IHTMLElement2::scrollLeft
IHTMLElement2::scrollTop
IHTMLElement2::scrollWidth

 

 

Community Additions

ADD
Show:
© 2015 Microsoft