SpreadJS Documentation
color Field
Indicates the color of the border line. Use a known color name or HEX style color value. The default value is black.
Syntax
var instance = new GcSpread.Sheets.LineBorder(color, style);
var value; // Type: color
value = instance.color;
var color : color;
Example
This example sets the color property.
var border = new GcSpread.Sheets.LineBorder
border.color = "#7FFFD4";
border.style = GcSpread.Sheets.LineStyle.double;
var cell = activeSheet.getCell(1, 1, GcSpread.Sheets.SheetArea.viewport);
cell.borderLeft(border);
See Also

Reference

LineBorder type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.