Share via


TextRange.collapse Method

SharePoint Designer Developer Reference

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

Syntax

expression.collapse(start)

expression   Required. A variable that represents an TextRange object.

Parameters

Name Required/Optional Data Type Description
start Optional Boolean True moves the insertion point to the beginning of the text range. False moves the insertion point to the end of the text range. Default value is True.

See Also