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

IHTMLTextContainer::scrollLeft

IHTMLTextContainer::scrollTop

IHTMLTextContainer::scrollWidth