ITextRange.Collapse(Boolean) ITextRange.Collapse(Boolean) ITextRange.Collapse(Boolean) ITextRange.Collapse(Boolean) Method

Definition

Collapses the text range into a degenerate point at either the beginning or end of the range.

public : void Collapse(bool value)
void Collapse(bool value) const;
public void Collapse(Boolean value)
Public Sub Collapse(value As Boolean)
Parameters
value
Boolean Boolean

True collapses at the start of the text range, and false collapses at the end of the range. The default value is true.