PivotTableCollectionAdd Method (PivotTable, Int32, Int32, String)

Adds a new PivotTable Object to the collection from another PivotTable.

Namespace:  Aspose.Cells.Pivot
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 21.6.0.0 (21.6)
Syntax
public int Add(
	PivotTable pivotTable,
	int row,
	int column,
	string tableName
)

Parameters

pivotTable
Type: Aspose.Cells.PivotPivotTable
The source pivotTable.
row
Type: SystemInt32
Row index of the cell in the upper-left corner of the PivotTable report's destination range.
column
Type: SystemInt32
Column index of the cell in the upper-left corner of the PivotTable report's destination range.
tableName
Type: SystemString
The name of the new PivotTable report.

Return Value

Type: Int32
The new added PivotTable index.
See Also