Spread WPF 18
GrapeCity.Spreadsheet.Charts Namespace / ICharts Interface / Add Method / Add(ISheet,ISheet,Int32) Method
An GrapeCity.Spreadsheet.ISheet object that specifies the sheet before which the new sheet is added. You cannot specify before if you specify after.
An GrapeCity.Spreadsheet.ISheet object that specifies the sheet after which the new sheet is added. You cannot specify after if you specify before.
The number of sheets to be added.


In This Topic
    Add(ISheet,ISheet,Int32) Method
    In This Topic
    Inserts a chart directly onto the grid.
    Syntax
    'Declaration
     
    Overloads Sub Add( _
       Optional ByVal before As ISheet, _
       Optional ByVal after As ISheet, _
       Optional ByVal count As Integer _
    ) 
    'Usage
     
    Dim instance As ICharts
    Dim before As ISheet
    Dim after As ISheet
    Dim count As Integer
     
    instance.Add(before, after, count)
    void Add( 
       ISheet before,
       ISheet after,
       int count
    )

    Parameters

    before
    An GrapeCity.Spreadsheet.ISheet object that specifies the sheet before which the new sheet is added. You cannot specify before if you specify after.
    after
    An GrapeCity.Spreadsheet.ISheet object that specifies the sheet after which the new sheet is added. You cannot specify after if you specify before.
    count
    The number of sheets to be added.
    See Also