collapse Method
Moves the insertion point to the beginning or end of the current range.
Syntax
object.collapse( [bStart])
Parameters
bStart Optional. Boolean that specifies one of the following values:
- true
- Default. Moves the insertion point to the beginning of the text range.
false- Moves the insertion point to the end of the text range.
Return Value
No return value.
Remarks
This feature might not be available on non- Microsoft Win32 platforms.
Standards Information
There is no public standard that applies to this method.
Applies To
TextRange, TextRange Constructor
See Also
expand