SetSelection Method (SLRichTextBox)

Action

Selects a range of text in the text box.

Syntax

C#
richTextBox.SetSelection(startPosition, length)
VB
richTextBox.SetSelection(startPosition, length)
Variable Description
startPosition The start index for the selection. The value is zero-based. Integer.
length The number of characters to select from the start position. Integer.