Hi Winter,
Thanks for your interest in Syncfusion products.
In CalcEngine, there is support to add custom function to library. It is a two step process.
1) Add formula to the CalcEngine library
public string MyLibraryFormula(string args)
{
//code
}
This returns computed value as string.
2) Add formula to the formula library
- Call the AddFunction method of engine and add formula name to the library.
this.calcQuick.Engine.AddFunction("MYFUNCTION", new CalcEngine.LibraryFunction(ComputeMYFUNCTION));
Please refer to the following minimal sample that uses custom function with engine of CalcQuick object.
http://files.syncfusion.com/support/samples/Grid.Windows/7.1.0.30/F80011/F80011.zipRegards,
Rajadurai