ExcelCalculationOptionsFluent
OfficeIMO.Excel
The fluent methods of 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
Methods
public static ExcelCalculationOptions ClearCachedFormulaResultsBeforeSave(ExcelCalculationOptions excelCalculationOptions, bool value = true) #Sets ExcelCalculationOptions.ClearCachedFormulaResultsBeforeSave: When true, cached formula results are removed before saving. Ignored when ExcelCalculationOptions.EvaluateFormulasBeforeSave is true.
Parameters
- excelCalculationOptions OfficeIMO.Excel.ExcelCalculationOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// 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) #Sets ExcelCalculationOptions.EvaluateFormulasBeforeSave: 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
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// 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) #Sets ExcelCalculationOptions.ForceFullCalculationOnOpen: When true, workbook calculation properties request a full recalculation when the file opens.
Parameters
- excelCalculationOptions OfficeIMO.Excel.ExcelCalculationOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// 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) #Sets ExcelCalculationOptions.MarkFormulasDirtyBeforeSave: When true, formula cells are marked dirty so Excel-compatible applications recalculate them on open.
Parameters
- excelCalculationOptions OfficeIMO.Excel.ExcelCalculationOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelCalculationOptions { MarkFormulasDirtyBeforeSave = value }; excelCalculationOptions.MarkFormulasDirtyBeforeSave(value);public static ExcelCalculationOptions MaximumDependencyDepth(ExcelCalculationOptions excelCalculationOptions, int value) #Sets ExcelCalculationOptions.MaximumDependencyDepth: Gets or sets the maximum number of nested formula cells OfficeIMO evaluates in one dependency chain.
Parameters
- excelCalculationOptions OfficeIMO.Excel.ExcelCalculationOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelCalculationOptions { MaximumDependencyDepth = value }; excelCalculationOptions.MaximumDependencyDepth(value);