Spread.Sheets Documentation
borderLeft Method
GC.Spread.Sheets Namespace > CellRange type : borderLeft Method
The cell left border line.
Gets or sets the left border of the cell.
Syntax
var instance = new GC.Spread.Sheets.CellRange(sheet, row, col, rowCount, colCount, sheetArea);
var returnValue; // Type: any
returnValue = instance.borderLeft(value);
function borderLeft( 
   value : LineBorder
) : any;

Parameters

value
The cell left border line.

Return Value

If no value is set, returns the cell left border line; otherwise, returns the cell.
Example
The following examples create a border.
activeSheet.getRange(2, -1, 1, -1, GC.Spread.Sheets.SheetArea.viewport).borderLeft(new GC.Spread.Sheets.LineBorder("green", GC.Spread.Sheets.LineStyle.mediumDashed));
activeSheet.getCell(1,1).borderLeft(new GC.Spread.Sheets.LineBorder("red", GC.Spread.Sheets.LineStyle.double));
activeSheet.getRange(-1, 3, -1, 1, GC.Spread.Sheets.SheetArea.viewport).borderLeft(new GC.Spread.Sheets.LineBorder("blue", GC.Spread.Sheets.LineStyle.mediumDashed));
See Also

Reference

CellRange type