ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.8 Assembly / C1.Win.C1FlexGrid Namespace / C1FlexGrid Class / Aggregate Method / Aggregate(AggregateEnum,Int32,Int32,Int32,Int32,AggregateFlags) Method
AggregateEnum value that specifies the type of aggregate to calculate.
Top row in the range.
Left column in the range.
Bottom row in the range.
Right column in the range.
AggregateFlags value that specifies aggregation options.

In This Topic
    Aggregate(AggregateEnum,Int32,Int32,Int32,Int32,AggregateFlags) Method
    In This Topic
    Calculates aggregate statistics for a range.
    Syntax
    'Declaration
     
    Public Overloads Function Aggregate( _
       ByVal aggType As AggregateEnum, _
       ByVal topRow As Integer, _
       ByVal leftCol As Integer, _
       ByVal bottomRow As Integer, _
       ByVal rightCol As Integer, _
       ByVal flags As AggregateFlags _
    ) As Double
    public double Aggregate( 
       AggregateEnum aggType,
       int topRow,
       int leftCol,
       int bottomRow,
       int rightCol,
       AggregateFlags flags
    )

    Parameters

    aggType
    AggregateEnum value that specifies the type of aggregate to calculate.
    topRow
    Top row in the range.
    leftCol
    Left column in the range.
    bottomRow
    Bottom row in the range.
    rightCol
    Right column in the range.
    flags
    AggregateFlags value that specifies aggregation options.

    Return Value

    A System.Double that represents the aggregate value.
    See Also