SpreadJS Documentation
LineBorder type
GC.Spread.Sheets Namespace : LineBorder type
Represents the line border for a border side.
Syntax
var instance = new GC.Spread.Sheets.LineBorder(color, style);
function LineBorder;
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);
Inheritance Hierarchy

Object
   GC.Spread.Sheets.LineBorder

Constructors
 NameDescription
public ConstructorRepresents the line border for a border side.  
Top
Fields
 NameDescription
public FieldIndicates the color of the border line. Use a known color name or HEX style color value. The default value is black.  
public FieldIndicates the line style of the border line. The default value is empty.  
Top
See Also

Reference

GC.Spread.Sheets Namespace