接口 ISlicers
A collection of
ISlicer
objects.-
方法概要
修饰符和类型方法说明add
(IWorksheet slicerDestination, String name, String caption, double top, double left, double width, double height) Creates a new slicer and returns aISlicer
object.get
(int index) Gets theISlicer
with the specified index.Gets theISlicer
with the specified name.int
getCount()
Gets the number of objects in the collection.从接口继承的方法 java.lang.Iterable
forEach, iterator, spliterator
-
方法详细资料
-
get
Gets theISlicer
with the specified index.- 参数:
index
- the index.
-
get
Gets theISlicer
with the specified name.- 参数:
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 aISlicer
object.- 参数:
slicerDestination
- aIWorksheet
object that represents the sheet, where theresulting slicer will be placed.The destination sheet must be in the workbook that contains theISlicers
object 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.- 返回:
- a
ISlicer
object.
-