SetSelection Method (SLTextBox)

Class

SLTextBox.

Action

Selects a range of text in the text box.

Syntax

C#
textBox.SetSelection(startPosition, length)
VB
textBox.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.