Spread ASP.NET 6.0 Product Documentation
GetAggregationResult Method
See Also  Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > GroupDataModel Class : GetAggregationResult Method


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 aggformula.

Glossary Item Box

Gets aggregation of the cells in the specified range of cells.

Syntax

Visual Basic (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
Visual Basic (Usage)Copy Code
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)
C# 
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 aggformula.

Return Value

an object of the aggregation result

Exceptions

ExceptionDescription
ParseException aggformula is not a valid formula.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.