WorksheetCollectionRegisterAddInFunction Method (String, String, Boolean)

Adds addin function into the workbook

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: (22.5.0)
public int RegisterAddInFunction(
	string addInFile,
	string functionName,
	bool lib


Type: SystemString
the file contains the addin functions
Type: SystemString
the addin function name
Type: SystemBoolean
whether the given addin file is in the directory or sub-directory of Workbook Add-In library. This flag takes effect and makes difference when given addInFile is of relative path: true denotes the path is relative to Add-In library and false denotes the path is relative to this Workbook.

Return Value

Type: Int32
ID of the data which contains given addin function
See Also