collapse Method

Internet Development Index

Moves the insertion point to the beginning or end of the current range.

Syntax

TextRange.collapse( [bStart])

Parameters

bStart Optional. Boolean爐hat specifies one of the following values:
trueDefault. Moves the insertion point to the beginning of the text range.
falseMoves 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

See Also

expand