XlsSlicerCollection
Add Method (IListObject, String, Int32)
|
Adds a slicer associated with a table to the collection.
Namespace:
Spire.Xls
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public int Add(
IListObject table,
string destCellName,
int index
)
Public Function Add (
table As IListObject,
destCellName As String,
index As Integer
) As Integer
public:
int Add(
IListObject^ table,
String^ destCellName,
int index
)
member Add :
table : IListObject *
destCellName : string *
index : int -> int
Parameters
-
table
-
Type:
Spire.Xls.Core
IListObject
The table to which the slicer is connected.
-
destCellName
-
Type:
System
String
The name of the cell where the slicer will be placed.
-
index
-
Type:
System
Int32
The index of the column in the table to be used by the slicer.
Return Value
Type:
Int32
The index of the newly added slicer in the collection.
See Also