GcSpread.Sheets Namespace > ThemeColor type : ThemeColor Constructor |
var instance = new GcSpread.Sheets.ThemeColor(name, text1, text2, background1, background2, accent1, accent2, accent3, accent4, accent5, accent6, link, followedLink);
function ThemeColor( name : string, text1 : object, text2 : object, background1 : object, background2 : object, accent1 : object, accent2 : object, accent3 : object, accent4 : object, accent5 : object, accent6 : object, link : object, followedLink : object ) : ThemeColor;
var ntheme = new GcSpread.Sheets.ThemeColor("customThemeColor"); ntheme.accent1("lightgreen"); activeSheet.currentTheme(new GcSpread.Sheets.SpreadTheme("customTheme", ntheme)); activeSheet.getCell(0, 0).backColor("accent 1"); activeSheet.getCell(1, 0).backColor("accent 1 30");