RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox Namespace / C1RichTextBox Class / Select Method
The zero-based index of the first character in the selection.
The length of the selection, in characters.

In This Topic
    Select Method (C1RichTextBox)
    In This Topic
    Selects a range of text in the rich text box.
    Syntax
    'Declaration
     
    
    Public Sub Select( _
       ByVal start As Integer, _
       ByVal length As Integer _
    ) 
    public void Select( 
       int start,
       int length
    )

    Parameters

    start
    The zero-based index of the first character in the selection.
    length
    The length of the selection, in characters.
    Remarks
    The positions received by this method correspond to positions in the C1RichTextBox.Text property's content.
    See Also