Spread Windows Forms 13.0 Product Documentation
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Slicers Namespace / ISlicers Interface / Add Method


In This Topic
    Add Method (ISlicers)
    In This Topic
    Syntax
    'Declaration
     
    Function Add( _
       ByVal worksheet As IWorksheet, _
       Optional ByVal name As String, _
       Optional ByVal caption As String, _
       Optional ByVal x As Integer, _
       Optional ByVal y As Integer, _
       Optional ByVal width As Integer, _
       Optional ByVal height As Integer _
    ) As ISlicer
    'Usage
     
    Dim instance As ISlicers
    Dim worksheet As IWorksheet
    Dim name As String
    Dim caption As String
    Dim x As Integer
    Dim y As Integer
    Dim width As Integer
    Dim height As Integer
    Dim value As ISlicer
     
    value = instance.Add(worksheet, name, caption, x, y, width, height)
    ISlicer Add( 
       IWorksheet worksheet,
       string name,
       string caption,
       int x,
       int y,
       int width,
       int height
    )

    Parameters

    worksheet
    name
    caption
    x
    y
    width
    height
    See Also