# GC.Spread.Sheets.LineStyle

## Content

# Enumeration: LineStyle

[Spread](../modules/GC.Spread).[Sheets](../modules/GC.Spread.Sheets).LineStyle

Specifies the line drawing style for the border.

**`example`**
```
//This example creates a border.
var border = new GC.Spread.Sheets.LineBorder
border.color = "#7FFFD4";
border.style = GC.Spread.Sheets.LineStyle.double;
var cell = activeSheet.getCell(1, 1, GC.Spread.Sheets.SheetArea.viewport);
cell.borderLeft(border);
```

## Table of contents

### Enumeration members

- [dashDot](GC.Spread.Sheets.LineStyle#dashdot)
- [dashDotDot](GC.Spread.Sheets.LineStyle#dashdotdot)
- [dashed](GC.Spread.Sheets.LineStyle#dashed)
- [dotted](GC.Spread.Sheets.LineStyle#dotted)
- [double](GC.Spread.Sheets.LineStyle#double)
- [empty](GC.Spread.Sheets.LineStyle#empty)
- [hair](GC.Spread.Sheets.LineStyle#hair)
- [medium](GC.Spread.Sheets.LineStyle#medium)
- [mediumDashDot](GC.Spread.Sheets.LineStyle#mediumdashdot)
- [mediumDashDotDot](GC.Spread.Sheets.LineStyle#mediumdashdotdot)
- [mediumDashed](GC.Spread.Sheets.LineStyle#mediumdashed)
- [slantedDashDot](GC.Spread.Sheets.LineStyle#slanteddashdot)
- [thick](GC.Spread.Sheets.LineStyle#thick)
- [thin](GC.Spread.Sheets.LineStyle#thin)

## Enumeration members

### <a id="dashdot" name="dashdot"></a> dashDot

• **dashDot** = `9`

 Indicates a border line with dash-dot.

___

### <a id="dashdotdot" name="dashdotdot"></a> dashDotDot

• **dashDotDot** = `11`

 Indicates a border line with dash-dot-dot.

___

### <a id="dashed" name="dashed"></a> dashed

• **dashed** = `3`

 Indicates a border line with dashes.

___

### <a id="dotted" name="dotted"></a> dotted

• **dotted** = `4`

 Indicates a border line with dots.

___

### <a id="double" name="double"></a> double

• **double** = `6`

 Indicates a double border line.

___

### <a id="empty" name="empty"></a> empty

• **empty** = `0`

Indicates a border line without a style.

___

### <a id="hair" name="hair"></a> hair

• **hair** = `7`

 Indicates a border line with all dots.

___

### <a id="medium" name="medium"></a> medium

• **medium** = `2`

 Indicates a medium border line with a solid line.

___

### <a id="mediumdashdot" name="mediumdashdot"></a> mediumDashDot

• **mediumDashDot** = `10`

 Indicates a medium border line with dash-dot-dot.

___

### <a id="mediumdashdotdot" name="mediumdashdotdot"></a> mediumDashDotDot

• **mediumDashDotDot** = `12`

 Indicates a medium border line with dash-dot-dot.

___

### <a id="mediumdashed" name="mediumdashed"></a> mediumDashed

• **mediumDashed** = `8`

 Indicates a medium border line with dashes.

___

### <a id="slanteddashdot" name="slanteddashdot"></a> slantedDashDot

• **slantedDashDot** = `13`

 Indicates a slanted border line with dash-dot.

___

### <a id="thick" name="thick"></a> thick

• **thick** = `5`

 Indicates a thick border line with a solid line.

___

### <a id="thin" name="thin"></a> thin

• **thin** = `1`

 Indicates a border line with a solid thin line.
