asposecells.api

Class CalculationOptions

Represents options for calculation.

Constructor Summary
 
Property Getters/Setters Summary
methodgetCalcStackSize()
method
           Specifies the stack size for calculating cells recursively.
methodgetCalculationMonitor()
method
           The monitor for user to track the progress of formula calculation.
methodgetIgnoreError()
method
           Indicates if you need to hide the error in calculating formulas. The error may be unsupported function, external links, etc.
methodgetPrecisionStrategy()
method
           Specifies the strategy for processing precision of calculation. The value of the property is CalculationPrecisionStrategy integer constant.
methodgetRecursive()
method
           Indicates whether calculate the dependent cells recursively when calculating one cell and it depends on other cells.
 

    • Constructor Detail

      • CalculationOptions

        CalculationOptions()
    • Property Getters/Setters Detail

      • getIgnoreError/setIgnoreError : boolean 

        boolean getIgnoreError() / setIgnoreError(value)
        
        Indicates if you need to hide the error in calculating formulas. The error may be unsupported function, external links, etc.
      • getCalcStackSize/setCalcStackSize : int 

        int getCalcStackSize() / setCalcStackSize(value)
        
        Specifies the stack size for calculating cells recursively. When there are large amount of cells need to be calculated recursively in the dependency tree, StackOverflowException may be caused in the calculation process. If so, user should specify smaller value for this property. For such situation, user should determine the proper value for this property according to the actual formulas and data. Too small value may cause performance degradation for the formula calculation.
      • getPrecisionStrategy/setPrecisionStrategy : int 

        int getPrecisionStrategy() / setPrecisionStrategy(value)
        
        Specifies the strategy for processing precision of calculation. The value of the property is CalculationPrecisionStrategy integer constant.
      • getRecursive/setRecursive : boolean 

        boolean getRecursive() / setRecursive(value)
        
        Indicates whether calculate the dependent cells recursively when calculating one cell and it depends on other cells.