[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.LineStyle

LineStyle Enum

Specifies the style for a line.

Use this enum with ILineFormat to apply a predefined compound line style to a shape line, such as a single line, two thin lines, or a thick line combined with thin lines.

Namespace: GrapeCity.Documents.Excel.Drawing
Assembly: DS.Documents.Excel.dll
Syntax
public enum LineStyle
Public Enum LineStyle
Examples
IShape connector = worksheet.Shapes.AddConnector(ConnectorType.Straight, 10, 10, 200, 100);
ILineFormat line = connector.Line;
line.Style = LineStyle.ThickBetweenThin;

Fields

Name Description
Single

Specifies a single line.

ThickBetweenThin

Specifies a thick line with a thin line on each side.

ThickThin

Specifies a thick line next to a thin line. For horizontal lines, the thick line is above the thin line. For vertical lines, the thick line is to the left of the thin line.

ThinThick

Specifies a thick line next to a thin line. For horizontal lines, the thick line is below the thin line. For vertical lines, the thick line is to the right of the thin line.

ThinThin

Specifies two thin lines.