# ExcelCalculationOptionsFluent

The fluent methods of ExcelCalculationOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.Excel`

**Namespace**

`OfficeIMO.Excel`

**Assembly**

`OfficeIMO.Excel`

**Modifiers**

static

The fluent methods of [ExcelCalculationOptions](/api/excel/officeimo-excel-excelcalculationoptions/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- ExcelCalculationOptionsFluent

Filter members 

Show inherited

## Methods

`public static ExcelCalculationOptions ClearCachedFormulaResultsBeforeSave(ExcelCalculationOptions excelCalculationOptions, bool value = true)` [#](#method-clearcachedformularesultsbeforesave-officeimo-excel-excelcalculationoptions-boolean)

Sets [ExcelCalculationOptions.ClearCachedFormulaResultsBeforeSave](/api/excel/officeimo-excel-excelcalculationoptions/): When true, cached formula results are removed before saving. Ignored when [ExcelCalculationOptions.EvaluateFormulasBeforeSave](/api/excel/officeimo-excel-excelcalculationoptions/) is true.

Parameters

**excelCalculationOptions OfficeIMO.Excel.ExcelCalculationOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelCalculationOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                                           // C# fluent
new global::OfficeIMO.Excel.ExcelCalculationOptions { ClearCachedFormulaResultsBeforeSave = value };    excelCalculationOptions.ClearCachedFormulaResultsBeforeSave(value);
```

`public static ExcelCalculationOptions EvaluateFormulasBeforeSave(ExcelCalculationOptions excelCalculationOptions, bool value = true)` [#](#method-evaluateformulasbeforesave-officeimo-excel-excelcalculationoptions-boolean)

Sets [ExcelCalculationOptions.EvaluateFormulasBeforeSave](/api/excel/officeimo-excel-excelcalculationoptions/): When true, OfficeIMO evaluates supported formulas and writes cached values before saving. Unsupported formulas are left intact and can still be recalculated by Excel.

Parameters

**excelCalculationOptions OfficeIMO.Excel.ExcelCalculationOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelCalculationOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                                  // C# fluent
new global::OfficeIMO.Excel.ExcelCalculationOptions { EvaluateFormulasBeforeSave = value };    excelCalculationOptions.EvaluateFormulasBeforeSave(value);
```

`public static ExcelCalculationOptions ForceFullCalculationOnOpen(ExcelCalculationOptions excelCalculationOptions, bool value = true)` [#](#method-forcefullcalculationonopen-officeimo-excel-excelcalculationoptions-boolean)

Sets [ExcelCalculationOptions.ForceFullCalculationOnOpen](/api/excel/officeimo-excel-excelcalculationoptions/): When true, workbook calculation properties request a full recalculation when the file opens.

Parameters

**excelCalculationOptions OfficeIMO.Excel.ExcelCalculationOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelCalculationOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                                  // C# fluent
new global::OfficeIMO.Excel.ExcelCalculationOptions { ForceFullCalculationOnOpen = value };    excelCalculationOptions.ForceFullCalculationOnOpen(value);
```

`public static ExcelCalculationOptions MarkFormulasDirtyBeforeSave(ExcelCalculationOptions excelCalculationOptions, bool value = true)` [#](#method-markformulasdirtybeforesave-officeimo-excel-excelcalculationoptions-boolean)

Sets [ExcelCalculationOptions.MarkFormulasDirtyBeforeSave](/api/excel/officeimo-excel-excelcalculationoptions/): When true, formula cells are marked dirty so Excel-compatible applications recalculate them on open.

Parameters

**excelCalculationOptions OfficeIMO.Excel.ExcelCalculationOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelCalculationOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                                   // C# fluent
new global::OfficeIMO.Excel.ExcelCalculationOptions { MarkFormulasDirtyBeforeSave = value };    excelCalculationOptions.MarkFormulasDirtyBeforeSave(value);
```

`public static ExcelCalculationOptions MaximumDependencyDepth(ExcelCalculationOptions excelCalculationOptions, int value)` [#](#method-maximumdependencydepth-officeimo-excel-excelcalculationoptions-int32)

Sets [ExcelCalculationOptions.MaximumDependencyDepth](/api/excel/officeimo-excel-excelcalculationoptions/): Gets or sets the maximum number of nested formula cells OfficeIMO evaluates in one dependency chain.

Parameters

**excelCalculationOptions OfficeIMO.Excel.ExcelCalculationOptions required**

The instance.

**value int required**

The value.

Returns

`ExcelCalculationOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                              // C# fluent
new global::OfficeIMO.Excel.ExcelCalculationOptions { MaximumDependencyDepth = value };    excelCalculationOptions.MaximumDependencyDepth(value);
```

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:1D8883BB16302F16C13D6480FC22058587EBC58F85C1F50D77BBC105C11332A0 -->
