Adds new pivot table to the collection.
Namespace:
Spire.Xls.Core
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
PivotTable Add(
string name,
CellRange location,
PivotCache cache
)
Function Add (
name As String,
location As CellRange,
cache As PivotCache
) As PivotTable
PivotTable^ Add(
String^ name,
CellRange^ location,
PivotCache^ cache
)
abstract 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
See Also