Skip to main content

TextBox.SetTextSelectionBounds

SetTextSelectionBounds

Syntax variant: By line numbers and column numbers

Syntax

SetTextSelectionBounds(<StartPosition>, <EndPosition>)

Parameters

<StartPosition> (required)

Type: Number. Start position of selection in the text.

<EndPosition> (required)

Type: Number. End position of selection in the text.

Syntax variant: By line numbers and column numbers of a selected text

Syntax

SetTextSelectionBounds(<BeginningOfTheLine>, <BeginningOfColumn>, <EndOfTheLine>, <EndOfColumn>)

Parameters

<BeginningOfTheLine> (required)

Type: Number. Line number of the beginning of selection.

<BeginningOfColumn> (required)

Type: Number. Column number of the beginning of selection.

<EndOfTheLine> (required)

Type: Number. Line number of the end of selection.

<EndOfColumn> (required)

Type: Number. Column number of the end of selection.

Description

Sets boundaries of a selected text area.

Availability

Thick client.

Translation

Русская версия: ПолеВвода.УстановитьГраницыВыделения (TextBox.SetTextSelectionBounds)