接口 ISlicers

所有超级接口:
Iterable<ISlicer>

public interface ISlicers extends Iterable<ISlicer>
A collection of ISlicer objects.
  • 方法详细资料

    • get

      ISlicer get(int index)
      Gets the ISlicer with the specified index.
      参数:
      index - the index.
    • get

      ISlicer get(String name)
      Gets the ISlicer 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 a ISlicer object.
      参数:
      slicerDestination - a IWorksheet object that represents the sheet, where theresulting slicer will be placed.The destination sheet must be in the workbook that contains the ISlicers 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.