Cell.SetArrayFormula

SetArrayFormula(string, int, int, bool, bool)

Sets an array formula to a range of cells.

[Obsolete("Use FormulaParseOptions for more options instead.")]
[EditorBrowsable(EditorBrowsableState.Never)]
public void SetArrayFormula(string arrayFormula, int rowNumber, int columnNumber, bool isR1C1, 
    bool isLocal)
ParameterTypeDescription
arrayFormulaStringArray formula.
rowNumberInt32Number of rows to populate result of the array formula.
columnNumberInt32Number of columns to populate result of the array formula.
isR1C1Booleanwhether the formula is R1C1 formula
isLocalBooleanwhether the formula is locale formatted

Remarks

NOTE: This class is now obsolete. Instead, please use Cell.SetArrayFormula(string,int,int,FormulaParseOptions). This property will be removed 12 months later since December 2019. Aspose apologizes for any inconvenience you may have experienced.

See Also


SetArrayFormula(string, int, int)

Sets an array formula(legacy array formula entered via CTRL+SHIFT+ENTER in ms excel) to a range of cells.

public void SetArrayFormula(string arrayFormula, int rowNumber, int columnNumber)
ParameterTypeDescription
arrayFormulaStringArray formula.
rowNumberInt32Number of rows to populate result of the array formula.
columnNumberInt32Number of columns to populate result of the array formula.

See Also


SetArrayFormula(string, int, int, FormulaParseOptions)

Sets an array formula to a range of cells.

public void SetArrayFormula(string arrayFormula, int rowNumber, int columnNumber, 
    FormulaParseOptions options)
ParameterTypeDescription
arrayFormulaStringArray formula.
rowNumberInt32Number of rows to populate result of the array formula.
columnNumberInt32Number of columns to populate result of the array formula.
optionsFormulaParseOptionsOptions for parsing the formula.

See Also


SetArrayFormula(string, int, int, FormulaParseOptions, object[][])

Sets an array formula to a range of cells.

public void SetArrayFormula(string arrayFormula, int rowNumber, int columnNumber, 
    FormulaParseOptions options, object[][] values)
ParameterTypeDescription
arrayFormulaStringArray formula.
rowNumberInt32Number of rows to populate result of the array formula.
columnNumberInt32Number of columns to populate result of the array formula.
optionsFormulaParseOptionsOptions for parsing the formula.
valuesObject[][]values for those cells with given array formula

See Also