ASPxClientTextEdit.SetSelection(startPos, endPos, scrollToSelection) Method
Selects the specified portion of the editor’s text.
Declaration
SetSelection(
startPos: number,
endPos: number,
scrollToSelection: boolean
): void
Parameters
Name | Type | Description |
---|---|---|
startPos | number | A zero-based integer value specifying the selection’s starting position. |
endPos | number | A zero-based integer value specifying the selection’s ending position. |
scrollToSelection | boolean | true to scroll the editor’s contents to make the selection visible; otherwise, false. |
See Also