Line.For line of spreadsheet document

Syntax:

New Line(<LineType>, <Thickness>, <Gap>)

Parameters:

<LineType> (required)

Type: SpreadsheetDocumentCellLineType.
Line type. Parameter type depends on the object where the line will be used.
If the type line is chosen SpreadsheetDocumentCellLineType the thickness of a line can be only 1.

<Thickness> (optional)

Type: Number.
Line thickness (in logical units). If the <LineType> parameter has the value of None, maximum line thickness will be - 1.

<Gap> (optional)

Type: Boolean.
Line indentation.
Default value: False.

Description:

Creates a line with a specified type and thickness, and sets line indentation.

Example:

Line = New Line(SpreadsheetDocumentCellLineType.Solid,2);

    

1C:Enterprise Developer's Community