SlicerCollectionAdd Method (ListObject, Int32, String)

Add a new Slicer using ListObjet as data source

Namespace:  Aspose.Cells.Slicers
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 21.9.0.0 (21.9)
Syntax
public int Add(
	ListObject table,
	int index,
	string destCellName
)

Parameters

table
Type: Aspose.Cells.TablesListObject
ListObject object
index
Type: SystemInt32
The index of ListColumn in ListObject.ListColumns
destCellName
Type: SystemString
The cell in the upper-left corner of the Slicer range.

Return Value

Type: Int32
The new add Slicer index
See Also