API Reference

Class

ExcelCalculationOptions

Namespace OfficeIMO.Excel
Assembly OfficeIMO.Excel
Modifiers sealed

Controls how formula cells are treated before a workbook is saved.

Inheritance

  • Object
  • ExcelCalculationOptions

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Constructors

public ExcelCalculationOptions() #

Methods

public Void ClearCustomFunctions() #
Returns: Void

Removes all custom formula functions registered for this workbook.

public Void RegisterCustomFunction(String name, ExcelCustomFormulaFunction function) #
Returns: Void

Registers or replaces a custom formula function for this workbook.

Parameters

name System.String requiredposition: 0
function OfficeIMO.Excel.ExcelCustomFormulaFunction requiredposition: 1
public Boolean RemoveCustomFunction(String name) #
Returns: Boolean

Removes a registered custom formula function.

Parameters

name System.String requiredposition: 0

Properties

public Int32 MaximumDependencyDepth { get; set; } #

Gets or sets the maximum number of nested formula cells OfficeIMO evaluates in one dependency chain.

public Boolean 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 Boolean MarkFormulasDirtyBeforeSave { get; set; } #

When true, formula cells are marked dirty so Excel-compatible applications recalculate them on open.

public Boolean ForceFullCalculationOnOpen { get; set; } #

When true, workbook calculation properties request a full recalculation when the file opens.

public Boolean ClearCachedFormulaResultsBeforeSave { get; set; } #

When true, cached formula results are removed before saving. Ignored when EvaluateFormulasBeforeSave is true.

public IReadOnlyList<String> CustomFunctionNames { get; } #

Gets the registered custom function names in ordinal order.