Contents Index Topic Contents | ||
Previous Topic: IHTMLTxtRange::queryCommandValue Next Topic: IHTMLTxtRange::select |
IHTMLTxtRange::scrollIntoView
HRESULT scrollIntoView( VARIANT_BOOL fStart );Scrolls the range into view, aligning it at either the top or bottom of the window.
- Returns S_OK if successful, or an error value otherwise.
- fStart
- Boolean value specifying the alignment of the range. TRUE aligns the range at the top of the window; FALSE aligns it at the bottom.
Depending on the size of the given object and the current window, this method might not be able to put the item at the very top or very bottom, but will always position the object as close to the requested position as possible.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.