Udostępnij za pośrednictwem


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 const& value);
public void Collapse(bool value);
function collapse(value)
Public Sub Collapse (value As Boolean)

Parameters

value
Boolean

bool

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

Applies to