Spread Windows Forms 11.0 Product Documentation
AddCustomFunction Method (FpSpread)


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : AddCustomFunction Method
GrapeCity.CalcEngine.Function object of the custom function to add
Adds a user-defined custom function (GrapeCity.CalcEngine.Function object) to the model for use in formulas.
Syntax
'Declaration
 
Public Sub AddCustomFunction( _
   ByVal function As Function _
) 
'Usage
 
Dim instance As FpSpread
Dim function As Function
 
instance.AddCustomFunction(function)
public void AddCustomFunction( 
   Function function
)

Parameters

function
GrapeCity.CalcEngine.Function object of the custom function to add
Exceptions
ExceptionDescription
No function specified; function is a null reference (Nothing in Visual Basic)
See Also

Reference

FpSpread Class
FpSpread Members