Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / GroupDataModel Class / GetAggregationResult Method
Row index of first row in selected range
Column index of first column in selected range
Number of rows in selected range
Number of columns in selected range
Type of aggregation
The aggregation formula.


In This Topic
    GetAggregationResult Method (GroupDataModel)
    In This Topic
    Gets aggregation of the cells in the specified range of cells.
    Syntax
    'Declaration
     
    Public Function GetAggregationResult( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal rowCount As Integer, _
       ByVal columnCount As Integer, _
       ByVal aggType As AggregationType, _
       ByVal aggformula As String _
    ) As Object
    'Usage
     
    Dim instance As GroupDataModel
    Dim row As Integer
    Dim column As Integer
    Dim rowCount As Integer
    Dim columnCount As Integer
    Dim aggType As AggregationType
    Dim aggformula As String
    Dim value As Object
     
    value = instance.GetAggregationResult(row, column, rowCount, columnCount, aggType, aggformula)
    public object GetAggregationResult( 
       int row,
       int column,
       int rowCount,
       int columnCount,
       AggregationType aggType,
       string aggformula
    )

    Parameters

    row
    Row index of first row in selected range
    column
    Column index of first column in selected range
    rowCount
    Number of rows in selected range
    columnCount
    Number of columns in selected range
    aggType
    Type of aggregation
    aggformula
    The aggregation formula.

    Return Value

    An object of the aggregation result
    Exceptions
    ExceptionDescription
    aggformula is not a valid formula.
    See Also