Contents Index Topic Contents | ||
Previous Topic: IHTMLTxtRange::moveEnd Next Topic: IHTMLTxtRange::moveToBookmark |
IHTMLTxtRange::moveStart
HRESULT moveStart( BSTR Unit, long Count, long *ActualCount );Changes the scope of the range by moving the start 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.