Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Table Class / SetTotalsRowFormula Method / SetTotalsRowFormula(Int32,String) Method
An integer value indicates the calculated column index.
A string value indicates formula of the total rows.


In This Topic
    SetTotalsRowFormula(Int32,String) Method
    In This Topic
    Sets the totals row formula.
    Syntax
    'Declaration
     
    
    Public Overloads Function SetTotalsRowFormula( _
       ByVal index As Integer, _
       ByVal formula As String _
    ) As Boolean
    'Usage
     
    
    Dim instance As Table
    Dim index As Integer
    Dim formula As String
    Dim value As Boolean
     
    value = instance.SetTotalsRowFormula(index, formula)
    public bool SetTotalsRowFormula( 
       int index,
       string formula
    )

    Parameters

    index
    An integer value indicates the calculated column index.
    formula
    A string value indicates formula of the total rows.

    Return Value

    true if the formula is set successful, false otherwise.
    See Also