# WordTableOptionsFluent

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

Class 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Modifiers**

static

The fluent methods of [WordTableOptions](/api/word/officeimo-word-wordtableoptions/), 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
- WordTableOptionsFluent

Filter members 

Show inherited

## Methods

`public static WordTableOptions Alignment(WordTableOptions wordTableOptions, OfficeAlignment? item)` [#](#method-alignment-officeimo-word-wordtableoptions-nullable-officeimo-officealignment)

Adds an item to OfficeTableOptions.Alignments.

Parameters

**wordTableOptions OfficeIMO.Word.WordTableOptions required**

The instance.

**item OfficeIMO.OfficeAlignment? required**

The item.

Returns

`WordTableOptions` The same instance.

`public static WordTableOptions Alignments(WordTableOptions wordTableOptions, IEnumerable<OfficeAlignment?> items)` [#](#method-alignments-officeimo-word-wordtableoptions-collections-generic-ienumerable-system-nullable-officeimo-officealignment)

Adds items to OfficeTableOptions.Alignments.

Parameters

**wordTableOptions OfficeIMO.Word.WordTableOptions required**

The instance.

**items System.Collections.Generic.IEnumerable<OfficeIMO.OfficeAlignment?> required**

The items, in order.

Returns

`WordTableOptions` The same instance.

`public static WordTableOptions Caption(WordTableOptions wordTableOptions, string? value)` [#](#method-caption-officeimo-word-wordtableoptions-string)

Sets OfficeTableOptions.Caption.

Parameters

**wordTableOptions OfficeIMO.Word.WordTableOptions required**

The instance.

**value string? required**

The value.

Returns

`WordTableOptions` The same instance.

Examples

```csharp
// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Word.WordTableOptions { Caption = value };    wordTableOptions.Caption(value);
```

`public static WordTableOptions Configure(WordTableOptions wordTableOptions, Action<WordTableOptions> configure)` [#](#method-configure-officeimo-word-wordtableoptions-action-officeimo-word-wordtableoptions)

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

**wordTableOptions OfficeIMO.Word.WordTableOptions required**

The instance.

**configure System.Action<OfficeIMO.Word.WordTableOptions> required**

Assignments applied in order.

Returns

`WordTableOptions` The same instance.

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Word.WordTableOptions { HeaderTransform = value };    wordTableOptions.Configure(configured => configured.HeaderTransform = value);
```

Exclude 2 overloads

`public static WordTableOptions Exclude(WordTableOptions wordTableOptions, string item)` [#](#method-exclude-officeimo-word-wordtableoptions-string)

Adds an item to OfficeTableOptions.Exclude.

Parameters

**wordTableOptions OfficeIMO.Word.WordTableOptions required**

The instance.

**item string required**

The item.

Returns

`WordTableOptions` The same instance.

`public static WordTableOptions Exclude(WordTableOptions wordTableOptions, IEnumerable<string> items)` [#](#method-exclude-officeimo-word-wordtableoptions-collections-generic-ienumerable-system-string)

Adds items to OfficeTableOptions.Exclude.

Parameters

**wordTableOptions OfficeIMO.Word.WordTableOptions required**

The instance.

**items System.Collections.Generic.IEnumerable<string> required**

The items, in order.

Returns

`WordTableOptions` The same instance.

Include 2 overloads

`public static WordTableOptions Include(WordTableOptions wordTableOptions, string item)` [#](#method-include-officeimo-word-wordtableoptions-string)

Adds an item to OfficeTableOptions.Include.

Parameters

**wordTableOptions OfficeIMO.Word.WordTableOptions required**

The instance.

**item string required**

The item.

Returns

`WordTableOptions` The same instance.

`public static WordTableOptions Include(WordTableOptions wordTableOptions, IEnumerable<string> items)` [#](#method-include-officeimo-word-wordtableoptions-collections-generic-ienumerable-system-string)

Adds items to OfficeTableOptions.Include.

Parameters

**wordTableOptions OfficeIMO.Word.WordTableOptions required**

The instance.

**items System.Collections.Generic.IEnumerable<string> required**

The items, in order.

Returns

`WordTableOptions` The same instance.

`public static WordTableOptions IncludeHeaders(WordTableOptions wordTableOptions, bool value = true)` [#](#method-includeheaders-officeimo-word-wordtableoptions-boolean)

Sets OfficeTableOptions.IncludeHeaders.

Parameters

**wordTableOptions OfficeIMO.Word.WordTableOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`WordTableOptions` The same instance.

Examples

```csharp
// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Word.WordTableOptions { IncludeHeaders = value };    wordTableOptions.IncludeHeaders(value);
```

`public static WordTableOptions LayoutMode(WordTableOptions wordTableOptions, WordTableLayoutMode? value)` [#](#method-layoutmode-officeimo-word-wordtableoptions-nullable-officeimo-word-wordtablelayoutmode)

Sets [WordTableOptions.LayoutMode](/api/word/officeimo-word-wordtableoptions/): Gets or sets the table layout mode, or null to keep the style's default layout.

Parameters

**wordTableOptions OfficeIMO.Word.WordTableOptions required**

The instance.

**value OfficeIMO.Word.WordTableLayoutMode? required**

The value.

Returns

`WordTableOptions` The same instance.

Examples

```csharp
// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Word.WordTableOptions { LayoutMode = value };    wordTableOptions.LayoutMode(value);
```

`public static WordTableOptions Name(WordTableOptions wordTableOptions, string? value)` [#](#method-name-officeimo-word-wordtableoptions-string)

Sets OfficeTableOptions.Name.

Parameters

**wordTableOptions OfficeIMO.Word.WordTableOptions required**

The instance.

**value string? required**

The value.

Returns

`WordTableOptions` The same instance.

Examples

```csharp
// C# initializer or property                                    // C# fluent
new global::OfficeIMO.Word.WordTableOptions { Name = value };    wordTableOptions.Name(value);
```

Order 2 overloads

`public static WordTableOptions Order(WordTableOptions wordTableOptions, string item)` [#](#method-order-officeimo-word-wordtableoptions-string)

Adds an item to OfficeTableOptions.Order.

Parameters

**wordTableOptions OfficeIMO.Word.WordTableOptions required**

The instance.

**item string required**

The item.

Returns

`WordTableOptions` The same instance.

`public static WordTableOptions Order(WordTableOptions wordTableOptions, IEnumerable<string> items)` [#](#method-order-officeimo-word-wordtableoptions-collections-generic-ienumerable-system-string)

Adds items to OfficeTableOptions.Order.

Parameters

**wordTableOptions OfficeIMO.Word.WordTableOptions required**

The instance.

**items System.Collections.Generic.IEnumerable<string> required**

The items, in order.

Returns

`WordTableOptions` The same instance.

`public static WordTableOptions Style(WordTableOptions wordTableOptions, WordTableStyle value)` [#](#method-style-officeimo-word-wordtableoptions-officeimo-word-wordtablestyle)

Sets [WordTableOptions.Style](/api/word/officeimo-word-wordtableoptions/): Gets or sets the table style. Defaults to [WordTableStyle.TableGrid](/api/word/officeimo-word-wordtablestyle/).

Parameters

**wordTableOptions OfficeIMO.Word.WordTableOptions required**

The instance.

**value OfficeIMO.Word.WordTableStyle required**

The value.

Returns

`WordTableOptions` The same instance.

Examples

```csharp
// C# initializer or property                                     // C# fluent
new global::OfficeIMO.Word.WordTableOptions { Style = value };    wordTableOptions.Style(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:11C742BB3086F70B74EB735FC47933ABA8C234D19B11A3E9616AA6D3B34AE4D7 -->
