SlicerCollectionAdd Method (ListObject, ListColumn, Int32, Int32) |
Add a new Slicer using ListObjet as data source
Namespace:
Aspose.Cells.Slicers
Assembly:
Aspose.Cells (in Aspose.Cells.dll) Version: 22.5.0.0 (22.5.0)
Syntaxpublic int Add(
ListObject table,
ListColumn listColumn,
int row,
int column
)
Public Function Add (
table As ListObject,
listColumn As ListColumn,
row As Integer,
column As Integer
) As Integer
public:
int Add(
ListObject^ table,
ListColumn^ listColumn,
int row,
int column
)
member Add :
table : ListObject *
listColumn : ListColumn *
row : int *
column : int -> int
Parameters
- table
- Type: Aspose.Cells.TablesListObject
ListObject object - listColumn
- Type: Aspose.Cells.TablesListColumn
The ListColumn in ListObject.ListColumns - row
- Type: SystemInt32
Row index of the cell in the upper-left corner of the Slicer range. - column
- Type: SystemInt32
Column index of the cell in the upper-left corner of the Slicer range.
Return Value
Type:
Int32The new add Slicer index
Examples[C#]
slicers.Add(table, table.ListColumns[1], 38, 12);
See Also