# WordTemplateOptionsFluent

The fluent methods of WordTemplateOptions, 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 [WordTemplateOptions](/api/word/officeimo-word-wordtemplateoptions/), 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
- WordTemplateOptionsFluent

Filter members 

Show inherited

## Methods

Culture 2 overloads

`public static WordTemplateOptions Culture(WordTemplateOptions wordTemplateOptions, CultureInfo value)` [#](#method-culture-officeimo-word-wordtemplateoptions-globalization-cultureinfo)

Sets [WordTemplateOptions.Culture](/api/word/officeimo-word-wordtemplateoptions/): Gets or sets the culture used to format scalar values. The default is invariant culture.

Parameters

**wordTemplateOptions OfficeIMO.Word.WordTemplateOptions required**

The instance.

**value System.Globalization.CultureInfo required**

The value.

Returns

`WordTemplateOptions` The same instance.

Examples

```csharp
// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Word.WordTemplateOptions { Culture = value };    wordTemplateOptions.Culture(value);
```

`public static WordTemplateOptions Culture(WordTemplateOptions wordTemplateOptions, Action<CultureInfo> configure)` [#](#method-culture-officeimo-word-wordtemplateoptions-action-system-globalization-cultureinfo)

Configures [WordTemplateOptions.Culture](/api/word/officeimo-word-wordtemplateoptions/) in place: Gets or sets the culture used to format scalar values. The default is invariant culture.

Parameters

**wordTemplateOptions OfficeIMO.Word.WordTemplateOptions required**

The instance.

**configure System.Action<System.Globalization.CultureInfo> required**

Configures the value.

Returns

`WordTemplateOptions` The same instance.

`public static WordTemplateOptions RemoveMissingPlaceholders(WordTemplateOptions wordTemplateOptions, bool value = true)` [#](#method-removemissingplaceholders-officeimo-word-wordtemplateoptions-boolean)

Sets [WordTemplateOptions.RemoveMissingPlaceholders](/api/word/officeimo-word-wordtemplateoptions/): Gets or sets whether unresolved scalar placeholders are removed. The default preserves them for inspection.

Parameters

**wordTemplateOptions OfficeIMO.Word.WordTemplateOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`WordTemplateOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                            // C# fluent
new global::OfficeIMO.Word.WordTemplateOptions { RemoveMissingPlaceholders = value };    wordTemplateOptions.RemoveMissingPlaceholders(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:F47014CF6CFCDBA4E141322B13C7DAD001425F3DD2DD15040375BE5D1BA74369 -->
