# ExcelReportOptionsFluent

The fluent methods of ExcelReportOptions, 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 [ExcelReportOptions](/api/excel/officeimo-excel-excelreportoptions/), 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
- ExcelReportOptionsFluent

Filter members 

Show inherited

## Methods

`public static ExcelReportOptions DefaultSpacingRows(ExcelReportOptions excelReportOptions, int value)` [#](#method-defaultspacingrows-officeimo-excel-excelreportoptions-int32)

Sets [ExcelReportOptions.DefaultSpacingRows](/api/excel/officeimo-excel-excelreportoptions/): Gets or sets the default number of rows between blocks.

Parameters

**excelReportOptions OfficeIMO.Excel.ExcelReportOptions required**

The instance.

**value int required**

The value.

Returns

`ExcelReportOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Excel.ExcelReportOptions { DefaultSpacingRows = value };    excelReportOptions.DefaultSpacingRows(value);
```

`public static ExcelReportOptions KeyFill(ExcelReportOptions excelReportOptions, OfficeColor? value)` [#](#method-keyfill-officeimo-excel-excelreportoptions-nullable-officeimo-officecolor)

Sets [ExcelReportOptions.KeyFill](/api/excel/officeimo-excel-excelreportoptions/): Gets or sets an optional key-cell fill override.

Parameters

**excelReportOptions OfficeIMO.Excel.ExcelReportOptions required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`ExcelReportOptions` The same instance.

Examples

```csharp
// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Excel.ExcelReportOptions { KeyFill = value };    excelReportOptions.KeyFill(value);
```

`public static ExcelReportOptions SectionHeaderFill(ExcelReportOptions excelReportOptions, OfficeColor? value)` [#](#method-sectionheaderfill-officeimo-excel-excelreportoptions-nullable-officeimo-officecolor)

Sets [ExcelReportOptions.SectionHeaderFill](/api/excel/officeimo-excel-excelreportoptions/): Gets or sets an optional section-header fill override.

Parameters

**excelReportOptions OfficeIMO.Excel.ExcelReportOptions required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`ExcelReportOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Excel.ExcelReportOptions { SectionHeaderFill = value };    excelReportOptions.SectionHeaderFill(value);
```

`public static ExcelReportOptions Theme(ExcelReportOptions excelReportOptions, OfficeTheme value)` [#](#method-theme-officeimo-excel-excelreportoptions-officeimo-officetheme)

Sets [ExcelReportOptions.Theme](/api/excel/officeimo-excel-excelreportoptions/): Gets or sets the theme used by report content.

Parameters

**excelReportOptions OfficeIMO.Excel.ExcelReportOptions required**

The instance.

**value OfficeIMO.OfficeTheme required**

The value.

Returns

`ExcelReportOptions` The same instance.

Examples

```csharp
// C# initializer or property                                        // C# fluent
new global::OfficeIMO.Excel.ExcelReportOptions { Theme = value };    excelReportOptions.Theme(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:1FC0EFA4EFECBA0608DE4C15A272E9D4096B787FBEF327FF6C814131A72AD9F7 -->
