Spread ASP.NET 15
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / ColumnFooter Class / GetAggregateValue Method
Index of the column
Example


In This Topic
    GetAggregateValue Method
    In This Topic
    Gets the aggregate value.
    Syntax
    'Declaration
     
    Public Function GetAggregateValue( _
       ByVal column As Integer _
    ) As Object
    'Usage
     
    Dim instance As ColumnFooter
    Dim column As Integer
    Dim value As Object
     
    value = instance.GetAggregateValue(column)
    public object GetAggregateValue( 
       int column
    )

    Parameters

    column
    Index of the column
    Example
    This example returns the aggregate for the specified column.
    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>");
    
    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>")
    See Also