Selects a range of text in the rich text box.

Namespace:  C1.Phone.RichTextBox
Assembly:  C1.Phone.RichTextBox (in C1.Phone.RichTextBox.dll)

Syntax

C#
public void Select(
	int start,
	int length
)
Visual Basic
Public Sub Select ( _
	start As Integer, _
	length As Integer _
)

Parameters

start
Type: System..::..Int32
The zero-based index of the first character in the selection.
length
Type: System..::..Int32
The length of the selection, in characters.

Remarks

The positions received by this method correspond to positions in the Text property's content.

See Also