[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Commands.PivotTables.PivotTableCommand.AddPivotStyle

AddPivotStyle Method

AddPivotStyle(IPivotTable, Dictionary<TableStyleElementType, Tuple<StyleFormat, int>>, string, bool, string, bool)

Adds a new style for specified IPivotTable object.

Declaration
public static Command AddPivotStyle(IPivotTable pivotTable, Dictionary<TableStyleElementType, Tuple<StyleFormat, int>> tableStyleElements, string styleName, bool isDefaultTableStyle = false, string newStyleName = null, bool isDuplicated = false)
Public Shared Function AddPivotStyle(pivotTable As IPivotTable, tableStyleElements As Dictionary(Of TableStyleElementType, Tuple(Of StyleFormat, Integer)), styleName As String, Optional isDefaultTableStyle As Boolean = False, Optional newStyleName As String = Nothing, Optional isDuplicated As Boolean = False) As Command
Parameters
Type Name Description
IPivotTable pivotTable
Dictionary<TableStyleElementType, Tuple<StyleFormat, int>> tableStyleElements
string styleName
bool isDefaultTableStyle
string newStyleName
bool isDuplicated
Returns
Type Description
Command