ExcelCalculationOptions
OfficeIMO.Excel
Controls how formula cells are treated before a workbook is saved.
Inheritance
- object
- ExcelCalculationOptions
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property ExcelDocument.Calculation
Constructors
public ExcelCalculationOptions() #Methods
public void ClearCustomFunctions() #Removes all custom formula functions registered for this workbook.
public void RegisterCustomFunction(string name, ExcelCustomFormulaFunction function) #Registers or replaces a custom formula function for this workbook.
Parameters
- name string
- function OfficeIMO.Excel.ExcelCustomFormulaFunction
public bool RemoveCustomFunction(string name) #Removes a registered custom formula function.
Parameters
- name string
Returns
boolInherited Methods
Properties
public int MaximumDependencyDepth { get; set; } #Gets or sets the maximum number of nested formula cells OfficeIMO evaluates in one dependency chain.
public bool EvaluateFormulasBeforeSave { get; set; } #When true, OfficeIMO evaluates supported formulas and writes cached values before saving. Unsupported formulas are left intact and can still be recalculated by Excel.
public bool MarkFormulasDirtyBeforeSave { get; set; } #When true, formula cells are marked dirty so Excel-compatible applications recalculate them on open.
public bool ForceFullCalculationOnOpen { get; set; } #When true, workbook calculation properties request a full recalculation when the file opens.
public bool ClearCachedFormulaResultsBeforeSave { get; set; } #When true, cached formula results are removed before saving. Ignored when ExcelCalculationOptions.EvaluateFormulasBeforeSave is true.
public IReadOnlyList<string> CustomFunctionNames { get; } #Gets the registered custom function names in ordinal order.