| Modifier and Type | Method and Description |
|---|---|
ISlicer |
add(IWorksheet slicerDestination,
java.lang.String name,
java.lang.String caption,
double top,
double left,
double width,
double height)
Creates a new slicer and returns a
ISlicer object. |
ISlicer |
get(int index)
Gets the
ISlicer with the specified index. |
ISlicer |
get(java.lang.String name)
Gets the
ISlicer with the specified name. |
int |
getCount()
Gets the number of objects in the collection.
|
ISlicer get(int index)
ISlicer with the specified index.index - the index.ISlicer get(java.lang.String name)
ISlicer with the specified name.name - the name.int getCount()
ISlicer add(IWorksheet slicerDestination, java.lang.String name, java.lang.String caption, double top, double left, double width, double height)
ISlicer object.slicerDestination - a IWorksheet object that represents the sheet, where the
resulting slicer will be placed.The destination sheet must be in
the workbook that contains the ISlicers object specified
by expression.name - The name of the slicer.The name must be unique across all slicers
within a workbook.caption - The caption of the slicer.top - The initial vertical position of the slicer, in points, relative
to the upper-left corner of cell A1 on a worksheet.left - The initial horizontal position of the slicer, in points, relative
to the upper-left corner of cell A1 on a worksheet.width - The initial width, in points, of the slicer control.height - The initial height, in points, of the slicer control.ISlicer object.