var instance = new GC.Spread.Sheets.Tables.TableTheme();
function TableTheme;
var instance = new GC.Spread.Sheets.Tables.TableTheme();
function TableTheme;
//This example creates a table. var tableStyle = new GC.Spread.Sheets.Tables.TableTheme(); var thinBorder = new GC.Spread.Sheets.LineBorder("black", GC.Spread.Sheets.LineStyle.dotted); tableStyle.wholeTableStyle(new GC.Spread.Sheets.Tables.TableStyle("aliceblue", "green", "bold 10pt arial", thinBorder, thinBorder, thinBorder, thinBorder, thinBorder, thinBorder)); var tableStyleInfo = new GC.Spread.Sheets.Tables.TableStyle( "black", "white", "bold 11pt arial", new GC.Spread.Sheets.LineBorder("green", GC.Spread.Sheets.LineStyle.thin), new GC.Spread.Sheets.LineBorder("red", GC.Spread.Sheets.LineStyle.thick), new GC.Spread.Sheets.LineBorder("yellow", GC.Spread.Sheets.LineStyle.thin), new GC.Spread.Sheets.LineBorder("blue", GC.Spread.Sheets.LineStyle.thick)); tableStyle.headerRowStyle(tableStyleInfo); var table = activeSheet.tables.add("table1", 1, 1, 5, 5, tableStyle);
Object
GC.Spread.Sheets.Tables.TableTheme
Name | Description | |
---|---|---|
![]() | TableTheme Constructor | Represents the table style settings. |
Name | Description | |
---|---|---|
![]() | firstColumnStripSize | Gets or sets the size of the first alternating column. |
![]() | firstColumnStripStyle | Gets or sets the style of the first alternating column. |
![]() | firstFooterCellStyle | Gets or sets the style of the first footer cell. |
![]() | firstHeaderCellStyle | Gets or sets the style of the first header cell. |
![]() | firstRowStripSize | Gets or sets the size of the first alternating row. |
![]() | firstRowStripStyle | Gets or sets the first alternating row style. |
![]() | footerRowStyle | Gets or sets the default style of the footer area. |
![]() | headerRowStyle | Gets or sets the default style of the header area. |
![]() | highlightFirstColumnStyle | Gets or sets the style of the first column. |
![]() | highlightLastColumnStyle | Gets or sets the style of the last column. |
![]() | lastFooterCellStyle | Gets or sets the style of the last footer cell. |
![]() | lastHeaderCellStyle | Gets or sets the style of the last header cell. |
![]() | name | Gets or sets the name of the style. |
![]() | secondColumnStripSize | Gets or sets the size of the second alternating column. |
![]() | secondColumnStripStyle | Gets or sets the style of the second alternating column. |
![]() | secondRowStripSize | Gets or sets the size of the second alternating row. |
![]() | secondRowStripStyle | Gets or sets the second alternating row style. |
![]() | wholeTableStyle | Gets or sets the default style of the data area. |