Contents Index Topic Contents | ||
Previous Topic: IHTMLTxtRange::move Next Topic: IHTMLTxtRange::moveStart |
IHTMLTxtRange::moveEnd
HRESULT moveEnd( BSTR Unit, long Count, long *ActualCount );Changes the scope of the range by moving the end position of the range.
- Returns S_OK if successful, or an error value otherwise.
- Unit
- String specifying the units to move. Can be one of these values:
Character Moves one or more characters. Word Moves one or more words. A word is a collection of characters terminated by a space or other white space character. Sentence Moves one or more sentences. A sentence is a collection of words terminated by a punctuation character, such as a period. Textedit Moves to the start or end of the original range. - Count
- Integer specifying the number of units to move. This can be positive or negative.
- ActualCount
- Address of a variable that receives the actual number of units moved.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.