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

Parameters

value
The cell right border line.

Return Value

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

Reference

CellRange type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.