XlsPivotTablesCollection
Add Method (String, CellRange, PivotCache)
|
Adds new pivot table to the collection.
Namespace:
Spire.Xls.Core.Spreadsheet.Collections
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public PivotTable Add(
string name,
CellRange location,
PivotCache cache
)
Public Function Add (
name As String,
location As CellRange,
cache As PivotCache
) As PivotTable
public:
virtual PivotTable^ Add(
String^ name,
CellRange^ location,
PivotCache^ cache
) sealed
abstract Add :
name : string *
location : CellRange *
cache : PivotCache -> PivotTable
override Add :
name : string *
location : CellRange *
cache : PivotCache -> PivotTable
Parameters
-
name
-
Type:
System
String
Name of the new pivot table.
-
location
-
Type:
Spire.Xls
CellRange
Pivot table location.
-
cache
-
Type:
Spire.Xls
PivotCache
Return Value
Type:
PivotTable
Implements
IPivotTables
Add(String, CellRange, PivotCache)
See Also