[]
        
(Showing Draft Content)

C1.Win.Document.Util.C1RichText.SetSelection

SetSelection Method

SetSelection(int, int)

Sets the selection.

Declaration
public void SetSelection(int selectionStart, int selectionLength)
Public Sub SetSelection(selectionStart As Integer, selectionLength As Integer)
Parameters
Type Name Description
int selectionStart

Index of the first selected char, zero-based.

int selectionLength

Length of selected text, if it is -1 then all text from selectionStart will be selected.