Package com.grapecity.documents.excel
Interface ISlicers
A collection of
ISlicer objects.-
Method Summary
Modifier and TypeMethodDescriptionadd(IWorksheet slicerDestination, String name, String caption, double top, double left, double width, double height) Creates a new slicer and returns aISlicerobject.get(int index) Gets theISlicerwith the specified index.Gets theISlicerwith the specified name.intgetCount()Gets the number of objects in the collection.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
get
Gets theISlicerwith the specified index.- Parameters:
index- the index.
-
get
Gets theISlicerwith the specified name.- Parameters:
name- the name.
-
getCount
int getCount()Gets the number of objects in the collection. -
add
ISlicer add(IWorksheet slicerDestination, String name, String caption, double top, double left, double width, double height) Creates a new slicer and returns aISlicerobject.- Parameters:
slicerDestination- aIWorksheetobject that represents the sheet, where theresulting slicer will be placed.The destination sheet must be in the workbook that contains theISlicersobject specifiedby expression.name- The name of the slicer.The name must be unique across all slicerswithin a workbook.caption- The caption of the slicer.top- The initial vertical position of the slicer, in points, relativeto the upper-left corner of cell A1 on a worksheet.left- The initial horizontal position of the slicer, in points, relativeto 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.- Returns:
- a
ISlicerobject.
-