GcSpread.Sheets Namespace > Sheet type : setStyle Method |
var instance = new GcSpread.Sheets.Sheet(name); var returnValue; // Type: any returnValue = instance.setStyle(row, column, value, sheetArea);
var style = new GcSpread.Sheets.Style(); style.backColor = "lightgreen"; style.backgroundImage = "./css/images/quarter1.png"; activeSheet.setStyle(1,1,style,GcSpread.Sheets.SheetArea.viewport);