TextDocument.InsertLine

Syntax:

InsertLine(<LineNumber>, <Line>)

Parameters:

<LineNumber> (required)

Type: Number.
Index of line being inserted.

<Line> (required)

Type: String.
Line being inserted.

Description:

Inserts the line with specified number in the text document.

Availability:

Thin client, web-client, server, thick client, external connection.

Example:

DocText.InsertLine(23, "New Line");

    

1C:Enterprise Developer's Community