Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Table Class / SetTotalsRowFormula Method / SetTotalsRowFormula(Int32,TotalsCalculation) Method
An integer value indicates the calculated column index.
A TotalsCalculation value indicates the totals row function.


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

Parameters

index
An integer value indicates the calculated column index.
function
A TotalsCalculation value indicates the totals row function.

Return Value

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