public final class CalculationOptions extends Object
Modifier and Type | Method and Description |
---|---|
double |
getMaximumChange()
Gets the maximum calculation change.
|
int |
getMaximumIterations()
Gets the maximum calculation iterations.
|
boolean |
isEnableIterativeCalculation()
Gets a value indicating whether iterative calculation is enabled.
|
void |
setEnableIterativeCalculation(boolean enableIterativeCalculation)
Sets a value indicating whether iterative calculation is enabled.
|
void |
setMaximumChange(double value)
Sets the maximum calculation change.
|
void |
setMaximumIterations(int value)
Sets the maximum calculation iterations.
|
public double getMaximumChange()
This method defines the maximum value change in circular reference iterations after which the calculation process is stopped.
public int getMaximumIterations()
This method defines the maximum number of formula recalculations for a circular reference.
public boolean isEnableIterativeCalculation()
A circular reference is when a formula refers to itself directly or indirectly.
true
if iterative calculation is enabled; otherwise, false
.public void setEnableIterativeCalculation(boolean enableIterativeCalculation)
A circular reference is when a formula refers to itself directly or indirectly.
Setting to true
will allow circular references in cell formulas;
otherwise a SpreadsheetParserException
will be thrown for every circular reference in the calculation process.
enableIterativeCalculation
- true
to enable iterative calculation; otherwise, false
.public void setMaximumChange(double value)
This method defines the maximum value change in circular reference iterations after which the calculation process is stopped.
value
- The maximum calculation change.public void setMaximumIterations(int value)
This method defines the maximum number of formula recalculations for a circular reference.
value
- The maximum calculation iterations.© GemBox Ltd. — All rights reserved.