GC.Spread.Sheets Namespace > CellRange type : foreColor Method |
var instance = new GC.Spread.Sheets.CellRange(sheet, row, col, rowCount, colCount, sheetArea); var returnValue; // Type: any returnValue = instance.foreColor(value);
function foreColor( value : string ) : any;
activeSheet.getRange(2, -1, 1, -1, GC.Spread.Sheets.SheetArea.viewport).foreColor("green");
activeSheet.getCell(1,1).foreColor("red");
activeSheet.getRange(-1, 3, -1, 1, GC.Spread.Sheets.SheetArea.viewport).foreColor("blue");