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