Contents Index Topic Contents | ||
Previous Topic: IHTMLTextContainer::get_onscroll Next Topic: IHTMLTextContainer::get_scrollLeft |
IHTMLTextContainer::get_scrollHeight
HRESULT get_scrollHeight( long *p );Retrieves the element's scrolling height, in pixels. This is the distance between the top and bottom edges of the element's visible content. The physical height of the content, including nonvisible content, can be obtained with the IHTMLElement::get_offsetHeight property.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the scroll height.
This property is read-only on HTML documents, and read-write on fixed regions.
See also get_scrollWidth
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.