[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.CalculationEngine.Sum

Sum Method

Sum(IEvaluationContext, IReferenceSource, int, int, int, int)

Gets SUM of the specified range.

Declaration
public static double Sum(IEvaluationContext context, IReferenceSource source, int row, int column, int row2, int column2)
Public Shared Function Sum(context As IEvaluationContext, source As IReferenceSource, row As Integer, column As Integer, row2 As Integer, column2 As Integer) As Double
Parameters
Type Name Description
IEvaluationContext context
IReferenceSource source
int row

An integer value indicates the top row index of cell range.

int column

An integer value indicates the left column index of cell range.

int row2

An integer value indicates the bottom row index of cell range.

int column2

An integer value indicates the right column index of cell range.

Returns
Type Description
double

The total summary of the specified cell range.