# ExcelWorkbookRepairOptionsFluent

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

Class 

`OfficeIMO.Excel`

**Namespace**

`OfficeIMO.Excel`

**Assembly**

`OfficeIMO.Excel`

**Modifiers**

static

The fluent methods of [ExcelWorkbookRepairOptions](/api/excel/officeimo-excel-excelworkbookrepairoptions/), 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
- ExcelWorkbookRepairOptionsFluent

Filter members 

Show inherited

## Methods

`public static ExcelWorkbookRepairOptions AutoFilters(ExcelWorkbookRepairOptions excelWorkbookRepairOptions, bool value = true)` [#](#method-autofilters-officeimo-excel-excelworkbookrepairoptions-boolean)

Sets [ExcelWorkbookRepairOptions.AutoFilters](/api/excel/officeimo-excel-excelworkbookrepairoptions/): Normalize AutoFilter metadata when the worksheet exposes a stale or invalid filter range.

Parameters

**excelWorkbookRepairOptions OfficeIMO.Excel.ExcelWorkbookRepairOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelWorkbookRepairOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Excel.ExcelWorkbookRepairOptions { AutoFilters = value };    excelWorkbookRepairOptions.AutoFilters(value);
```

`public static ExcelWorkbookRepairOptions Calculation(ExcelWorkbookRepairOptions excelWorkbookRepairOptions, bool value = true)` [#](#method-calculation-officeimo-excel-excelworkbookrepairoptions-boolean)

Sets [ExcelWorkbookRepairOptions.Calculation](/api/excel/officeimo-excel-excelworkbookrepairoptions/): Remove stale calculation chains and force recalculation on open when formulas exist.

Parameters

**excelWorkbookRepairOptions OfficeIMO.Excel.ExcelWorkbookRepairOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelWorkbookRepairOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Excel.ExcelWorkbookRepairOptions { Calculation = value };    excelWorkbookRepairOptions.Calculation(value);
```

`public static ExcelWorkbookRepairOptions DefinedNames(ExcelWorkbookRepairOptions excelWorkbookRepairOptions, bool value = true)` [#](#method-definednames-officeimo-excel-excelworkbookrepairoptions-boolean)

Sets [ExcelWorkbookRepairOptions.DefinedNames](/api/excel/officeimo-excel-excelworkbookrepairoptions/): Repair duplicate, invalid, and broken workbook defined names.

Parameters

**excelWorkbookRepairOptions OfficeIMO.Excel.ExcelWorkbookRepairOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelWorkbookRepairOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.Excel.ExcelWorkbookRepairOptions { DefinedNames = value };    excelWorkbookRepairOptions.DefinedNames(value);
```

`public static ExcelWorkbookRepairOptions Drawings(ExcelWorkbookRepairOptions excelWorkbookRepairOptions, bool value = true)` [#](#method-drawings-officeimo-excel-excelworkbookrepairoptions-boolean)

Sets [ExcelWorkbookRepairOptions.Drawings](/api/excel/officeimo-excel-excelworkbookrepairoptions/): Normalize drawing relationships and worksheet drawing anchors.

Parameters

**excelWorkbookRepairOptions OfficeIMO.Excel.ExcelWorkbookRepairOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelWorkbookRepairOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Excel.ExcelWorkbookRepairOptions { Drawings = value };    excelWorkbookRepairOptions.Drawings(value);
```

`public static ExcelWorkbookRepairOptions LinksAndComments(ExcelWorkbookRepairOptions excelWorkbookRepairOptions, bool value = true)` [#](#method-linksandcomments-officeimo-excel-excelworkbookrepairoptions-boolean)

Sets [ExcelWorkbookRepairOptions.LinksAndComments](/api/excel/officeimo-excel-excelworkbookrepairoptions/): Normalize hyperlinks and comment artifacts.

Parameters

**excelWorkbookRepairOptions OfficeIMO.Excel.ExcelWorkbookRepairOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelWorkbookRepairOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Excel.ExcelWorkbookRepairOptions { LinksAndComments = value };    excelWorkbookRepairOptions.LinksAndComments(value);
```

`public static ExcelWorkbookRepairOptions PrintSettings(ExcelWorkbookRepairOptions excelWorkbookRepairOptions, bool value = true)` [#](#method-printsettings-officeimo-excel-excelworkbookrepairoptions-boolean)

Sets [ExcelWorkbookRepairOptions.PrintSettings](/api/excel/officeimo-excel-excelworkbookrepairoptions/): Normalize print metadata such as page breaks, margins, and page scale.

Parameters

**excelWorkbookRepairOptions OfficeIMO.Excel.ExcelWorkbookRepairOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelWorkbookRepairOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.Excel.ExcelWorkbookRepairOptions { PrintSettings = value };    excelWorkbookRepairOptions.PrintSettings(value);
```

`public static ExcelWorkbookRepairOptions Protection(ExcelWorkbookRepairOptions excelWorkbookRepairOptions, bool value = true)` [#](#method-protection-officeimo-excel-excelworkbookrepairoptions-boolean)

Sets [ExcelWorkbookRepairOptions.Protection](/api/excel/officeimo-excel-excelworkbookrepairoptions/): Normalize worksheet protection metadata and protected range declarations.

Parameters

**excelWorkbookRepairOptions OfficeIMO.Excel.ExcelWorkbookRepairOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelWorkbookRepairOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Excel.ExcelWorkbookRepairOptions { Protection = value };    excelWorkbookRepairOptions.Protection(value);
```

`public static ExcelWorkbookRepairOptions Save(ExcelWorkbookRepairOptions excelWorkbookRepairOptions, bool value = true)` [#](#method-save-officeimo-excel-excelworkbookrepairoptions-boolean)

Sets [ExcelWorkbookRepairOptions.Save](/api/excel/officeimo-excel-excelworkbookrepairoptions/): Save the workbook after repairs are applied.

Parameters

**excelWorkbookRepairOptions OfficeIMO.Excel.ExcelWorkbookRepairOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelWorkbookRepairOptions` The same instance.

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Excel.ExcelWorkbookRepairOptions { Save = value };    excelWorkbookRepairOptions.Save(value);
```

`public static ExcelWorkbookRepairOptions SheetViews(ExcelWorkbookRepairOptions excelWorkbookRepairOptions, bool value = true)` [#](#method-sheetviews-officeimo-excel-excelworkbookrepairoptions-boolean)

Sets [ExcelWorkbookRepairOptions.SheetViews](/api/excel/officeimo-excel-excelworkbookrepairoptions/): Normalize worksheet view metadata such as frozen panes and selections.

Parameters

**excelWorkbookRepairOptions OfficeIMO.Excel.ExcelWorkbookRepairOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelWorkbookRepairOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Excel.ExcelWorkbookRepairOptions { SheetViews = value };    excelWorkbookRepairOptions.SheetViews(value);
```

`public static ExcelWorkbookRepairOptions Tables(ExcelWorkbookRepairOptions excelWorkbookRepairOptions, bool value = true)` [#](#method-tables-officeimo-excel-excelworkbookrepairoptions-boolean)

Sets [ExcelWorkbookRepairOptions.Tables](/api/excel/officeimo-excel-excelworkbookrepairoptions/): Normalize worksheet table metadata, table relationships, and table column definitions.

Parameters

**excelWorkbookRepairOptions OfficeIMO.Excel.ExcelWorkbookRepairOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelWorkbookRepairOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Excel.ExcelWorkbookRepairOptions { Tables = value };    excelWorkbookRepairOptions.Tables(value);
```

`public static ExcelWorkbookRepairOptions WorkbookArtifacts(ExcelWorkbookRepairOptions excelWorkbookRepairOptions, bool value = true)` [#](#method-workbookartifacts-officeimo-excel-excelworkbookrepairoptions-boolean)

Sets [ExcelWorkbookRepairOptions.WorkbookArtifacts](/api/excel/officeimo-excel-excelworkbookrepairoptions/): Normalize workbook views, style, and shared-string artifacts.

Parameters

**excelWorkbookRepairOptions OfficeIMO.Excel.ExcelWorkbookRepairOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelWorkbookRepairOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                            // C# fluent
new global::OfficeIMO.Excel.ExcelWorkbookRepairOptions { WorkbookArtifacts = value };    excelWorkbookRepairOptions.WorkbookArtifacts(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:F0E1812DBAC92606454533DC383C9D43AD74608902AAE0AC05615CA14434BEF9 -->
