Cell.SetSharedFormula

SetSharedFormula(string, int, int, bool, bool)

Sets a formula to a range of cells.

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

Remarks

NOTE: This class is now obsolete. Instead, please use Cell.SetSharedFormula(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


SetSharedFormula(string, int, int)

Sets shared formulas to a range of cells.

public void SetSharedFormula(string sharedFormula, int rowNumber, int columnNumber)
ParameterTypeDescription
sharedFormulaStringShared formula.
rowNumberInt32Number of rows to populate the formula.
columnNumberInt32Number of columns to populate the formula.

See Also


SetSharedFormula(string, int, int, FormulaParseOptions)

Sets shared formulas to a range of cells.

public void SetSharedFormula(string sharedFormula, int rowNumber, int columnNumber, 
    FormulaParseOptions options)
ParameterTypeDescription
sharedFormulaStringShared formula.
rowNumberInt32Number of rows to populate the formula.
columnNumberInt32Number of columns to populate the formula.
optionsFormulaParseOptionsOptions for parsing the formula.

See Also


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

Sets shared formulas to a range of cells.

public void SetSharedFormula(string sharedFormula, int rowNumber, int columnNumber, 
    FormulaParseOptions options, object[][] values)
ParameterTypeDescription
sharedFormulaStringShared formula.
rowNumberInt32Number of rows to populate the formula.
columnNumberInt32Number of columns to populate the formula.
optionsFormulaParseOptionsOptions for parsing the formula.
valuesObject[][]values for those cells with given shared formula

See Also