TextDocument.ReplaceLine

Syntax:

ReplaceLine(<LineNumber>, <Line>)

Parameters:

<LineNumber> (required)

Type: Number.
The number of the string to be replaced.

<Line> (required)

Type: String.
Replacement line.

Description:

Substitutes the passed string for the line with the specified number.

Availability:

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

Example:

DocText.ReplaceLine(23, "Line with corrections");

    

1C:Enterprise Developer's Community