# WordThemeFluent

The fluent methods of WordTheme, 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 [WordTheme](/api/word/officeimo-word-wordtheme/), 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
- WordThemeFluent

Filter members 

Show inherited

## Methods

`public static WordTheme Color(WordTheme wordTheme, WordThemeColor color, OfficeColor value)` [#](#method-color-officeimo-word-wordtheme-officeimo-word-wordthemecolor-officeimo-officecolor)

Sets a colour of the colour scheme.

Parameters

**wordTheme OfficeIMO.Word.WordTheme required**

The instance.

**color OfficeIMO.Word.WordThemeColor required**

The scheme slot. Text and background aliases set the dark and light slots.

**value OfficeIMO.OfficeColor required**

The new colour.

Returns

`WordTheme` The same instance.

`public static WordTheme MajorFont(WordTheme wordTheme, string? value)` [#](#method-majorfont-officeimo-word-wordtheme-string)

Sets [WordTheme.MajorFont](/api/word/officeimo-word-wordtheme/): Gets or sets the Latin typeface of the major (headings) font.

Parameters

**wordTheme OfficeIMO.Word.WordTheme required**

The instance.

**value string? required**

The value.

Returns

`WordTheme` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
wordTheme.MajorFont = value;     wordTheme.MajorFont(value);
```

`public static WordTheme MinorFont(WordTheme wordTheme, string? value)` [#](#method-minorfont-officeimo-word-wordtheme-string)

Sets [WordTheme.MinorFont](/api/word/officeimo-word-wordtheme/): Gets or sets the Latin typeface of the minor (body) font.

Parameters

**wordTheme OfficeIMO.Word.WordTheme required**

The instance.

**value string? required**

The value.

Returns

`WordTheme` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
wordTheme.MinorFont = value;     wordTheme.MinorFont(value);
```

`public static WordTheme Name(WordTheme wordTheme, string? value)` [#](#method-name-officeimo-word-wordtheme-string)

Sets [WordTheme.Name](/api/word/officeimo-word-wordtheme/): Gets or sets the theme name.

Parameters

**wordTheme OfficeIMO.Word.WordTheme required**

The instance.

**value string? required**

The value.

Returns

`WordTheme` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
wordTheme.Name = value;          wordTheme.Name(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:AD2AF6DFA8AC3CE8F851EED9D3BAD969D1DC62C3484ABC29F8E415BD8DE1E722 -->
