SpreadsheetGear.CustomFunctions Namespace : IArguments Interface |
The following tables list the members exposed by IArguments.
Name | Description | |
---|---|---|
Count | Returns the number of arguments to the custom function. | |
CurrentColumn | Returns the column of the cell which is currently being calculated. | |
CurrentFormula | Returns the formula of the cell which is currently being evaluated, or null if no cell is currently being evaluated. | |
CurrentFunctionName | Returns the name of the function which is currently being evaluated. | |
CurrentRow | Returns the row of the cell which is currently being calculated. | |
CurrentWorksheet | Returns the worksheet of the cell which is currently being calculated. The Function.Evaluate method precludes the use of any API on this worksheet except for the Name, Index and Workbook.Name properties. | |
Item | Returns the argument specified by the zero based index. Note that this indexer has the side effect of converting a range or array to a single value. |
Name | Description | |
---|---|---|
ClearError | Clears errors associated with the custom function which is currently being evaluated. | |
GetArrayDimensions | Returns the dimensions, consisting of the number of rows and columns, of the specified argument. | |
GetArrayFormulaInfo | Returns true and sets row1, col1, row2 and col2 to the zero based upper-left and lower-right row and column indexes of the array formula if the formula currently being evaluated is an array formula, or returns false and leaves the parameters unchanged if the formula currently being evaluated is not an array formula. | |
GetArrayValue | Returns the specified value. | |
GetLogical | Returns the argument specified by the zero based index as a logical (boolean) value. Note that this method has the side effect of converting a range or array to a single value. | |
GetNumber | Returns the argument specified by the zero based index as a double precision floating point number. Note that this method has the side effect of converting a range or array to a single value. | |
GetText | Returns the argument specified by the zero based index as a string. Note that this method has the side effect of converting a range or array to a single value. |