Spread for ASP.NET 7.0 Product Documentation
GetAggregateValue Method
See Also  Example Support Options
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 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.