Click to return to the Reusing Browser Technology home page    
IHTMLTextContainer::get_o...     IHTMLTextContainer::get_s...     IHTMLTextContainer Interf...    
Web Workshop  |  Reusing Browser Technology

IHTMLTextContainer::get_scrollHeight Method


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 method.

Syntax

HRESULT get_scrollHeight(
    long *p 
);

Parameters

p
Address of a variable that receives the scroll height.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

This property is read-only on HTML documents, and read-write on fixed regions.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

See Also

get_scrollWidth


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.