[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ICalculatedFields.Add

Add Method

Add(string, string)

Creates a new calculated field. Returns a IPivotField object.

Declaration
IPivotField Add(string Name, string Formula)
Function Add(Name As String, Formula As String) As IPivotField
Parameters
Type Name Description
string Name

The name of the field.

string Formula

The formula for the field.

Returns
Type Description
IPivotField

An IPivotField that represents the new calculated field.