Contents Index Topic Contents | ||
Previous Topic: IHTMLTxtRange Next Topic: IHTMLTxtRange::compareEndPoints |
IHTMLTxtRange::collapse
HRESULT collapse( VARIANT_BOOL Start );Creates an empty range either at the beginning or end of the current range.
- Returns S_OK if successful, or an error value otherwise.
- Start
- Boolean value specifying where to create the empty range. TRUE creates an empty range at the beginning of the current range; FALSE creates it at the end.
See also expand
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.