Line.Specified type and thickness

Syntax:

New Line(<LineType>, <Thickness>)

Parameters:

<LineType> (required)

Type: SpreadsheetDocumentDrawingLineType; ChartLineType; GeographicalSchemaLineType.
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.

Description:

Creates a line with a specified type and thickness.

Example:

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

    

1C:Enterprise Developer's Community