Spread ASP.NET 6.0 Product Documentation
GetAggregateValue Method
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > ColumnFooter Class : GetAggregateValue Method


column
Index of the column

Glossary Item Box

Gets the aggregate value.

Syntax

Visual Basic (Declaration) 
Public Function GetAggregateValue( _
   ByVal column As Integer _
) As Object
Visual Basic (Usage)Copy Code
Dim instance As ColumnFooter
Dim column As Integer
Dim value As Object
 
value = instance.GetAggregateValue(column)
C# 
public object GetAggregateValue( 
   int column
)

Parameters

column
Index of the column

Example

This example returns the aggregate for the specified column.
C#Copy Code
object o;
o = FpSpread1.ActiveSheetView.ColumnFooter.GetAggregateValue(0);
string msg = ("The aggregate for the column is " + o.ToString());
Response.Write("<script language='javascript'>alert('" + msg + "')</script>");
Visual BasicCopy Code
Dim o As Object
o = FpSpread1.ActiveSheetView.ColumnFooter.GetAggregateValue(0)
Dim msg As String = "The aggregate for the column is " + o.ToString()
Response.Write("<script language='javascript'>alert('" & msg & "')</script>")

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.