TextDocumentField.GetTextSelectionBounds

Syntax:

GetTextSelectionBounds(<BeginningOfTheLine>, <BeginningOfTheColumn>, <EndOfTheLine>, <EndOfTheColumn>)

Parameters:

<BeginningOfTheLine> (required)

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

<BeginningOfTheColumn> (required)

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

<EndOfTheLine> (required)

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

<EndOfTheColumn> (required)

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

Description:

Obtains boundaries of a selected text area.
Returns cursor position.

Availability:

Thick client.

    

1C:Enterprise Developer's Community