Aspose::Cells::CustomFunctionDefinition::GetArrayModeParameters method

CustomFunctionDefinition::GetArrayModeParameters(const U16String&) method

Gets the indices of given custom function’s parameters that need to be calculated in array mode.

Vector<int32_t> Aspose::Cells::CustomFunctionDefinition::GetArrayModeParameters(const U16String &functionName)
ParameterTypeDescription
functionNameconst U16String&Name of the custom function.

ReturnValue

Indices of the parameters that need to be calculated in array mode for given custom function. Default is null, there is no parameter which needs to be calculated in array mode for the custom function.

Remarks

For an expression that needs to be calculated, taking A:A+B:B as an example: Generally in value mode it will be calculated to a single value according to current cell base. But in array mode, all values of A1+B1,A2+B2,A3+B3,… will be calculated and used for the calculation.

See Also

CustomFunctionDefinition::GetArrayModeParameters(const char16_t*) method

Gets the indices of given custom function’s parameters that need to be calculated in array mode.

Vector<int32_t> Aspose::Cells::CustomFunctionDefinition::GetArrayModeParameters(const char16_t *functionName)
ParameterTypeDescription
functionNameconst char16_t*Name of the custom function.

ReturnValue

Indices of the parameters that need to be calculated in array mode for given custom function. Default is null, there is no parameter which needs to be calculated in array mode for the custom function.

Remarks

For an expression that needs to be calculated, taking A:A+B:B as an example: Generally in value mode it will be calculated to a single value according to current cell base. But in array mode, all values of A1+B1,A2+B2,A3+B3,… will be calculated and used for the calculation.

See Also