The requested page is not available for the requested platform. You are viewing the content for Default platform.

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