ITextRange.Collapse(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.