Spread.Sheets 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 GC.Spread.Sheets.LineBorder(color, style);
var value; // Type: color
value = instance.color;
var color : color;
Example
This example sets the color property.
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);
See Also

Reference

LineBorder type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.