'宣言 Public Sub SetSelection( _ ByVal selectionStart As System.Integer, _ ByVal selectionLength As System.Integer _ )
'使用法 Dim instance As C1RichText Dim selectionStart As System.Integer Dim selectionLength As System.Integer instance.SetSelection(selectionStart, selectionLength)
public void SetSelection( System.int selectionStart, System.int selectionLength )
パラメータ
- selectionStart
- 選択された最初の文字の0から始まるインデックス。
- selectionLength
- 選択されたテキストの長さ。-1 の場合は、selectionStart からすべてのテキストが選択されます。