[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.BorderLineStyle

BorderLineStyle Enum

Specifies the line style for the border.

Use this enum with border-related APIs such as LineStyle to control how a cell or range border is drawn.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public enum BorderLineStyle
Public Enum BorderLineStyle
Examples
IRange range = worksheet.Range["A1:B2"];
range.Value = "Test";
range.Borders[BordersIndex.EdgeBottom].Color = Color.Blue;
range.Borders[BordersIndex.EdgeBottom].LineStyle = BorderLineStyle.Thick;

Fields

Name Description
DashDot

Specifies a dash dot border.

DashDotDot

Specifies a dash-dot-dot border.

Dashed

Specifies a dashed border.

Dotted

Specifies a dotted border.

Double

Specifies a double line border.

Hair

Specifies a hairline border.

Medium

Specifies a medium border.

MediumDashDot

Specifies a medium dash dot border.

MediumDashDotDot

Specifies a medium dash-dot-dot border.

MediumDashed

Specifies a medium dashed border line.

None

Specifies that no border is applied.

SlantDashDot

Specifies a slant dash dot border.

Thick

Specifies a thick line border.

Thin

Specifies a thin border line style.