Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordThemeFluent

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Modifiers
static

The fluent methods of 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

Methods

public static WordTheme Color(WordTheme wordTheme, WordThemeColor color, OfficeColor value) #

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) #

Sets WordTheme.MajorFont: 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

// C# initializer or property    // C# fluent
wordTheme.MajorFont = value;     wordTheme.MajorFont(value);
public static WordTheme MinorFont(WordTheme wordTheme, string? value) #

Sets WordTheme.MinorFont: 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

// C# initializer or property    // C# fluent
wordTheme.MinorFont = value;     wordTheme.MinorFont(value);
public static WordTheme Name(WordTheme wordTheme, string? value) #

Sets WordTheme.Name: 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

// C# initializer or property    // C# fluent
wordTheme.Name = value;          wordTheme.Name(value);