Add Method (ISlicers)

Spread.Services Documentation
Add Method (ISlicers)
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: C#
C#

GrapeCity.Documents.Spread Namespace > ISlicers Interface : Add Method

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.
The name of the slicer.The name must be unique across all slicers within a workbook.
The caption of the slicer.
The initial vertical position of the slicer, in points, relative to the upper-left corner of cell A1 on a worksheet.
The initial horizontal position of the slicer, in points, relative to the upper-left corner of cell A1 on a worksheet.
The initial width, in points, of the slicer control.
The initial height, in points, of the slicer control.
Creates a new slicer and returns a ISlicer object.
Syntax

- C#

    ISlicer Add(
       IWorksheet slicerDestination,
       System.string name,
       System.string caption,
       System.double top,
       System.double left,
       System.double width,
       System.double height
    )

#### Parameters

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.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

#### Reference

ISlicers Interface
ISlicers Members

Copyright © GrapeCity, inc. All rights reserved.

Send Feedback