Class
WordThemeFluent
OfficeIMO.Word
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
- The instance.
- color OfficeIMO.Word.WordThemeColor
- The scheme slot. Text and background aliases set the dark and light slots.
- value OfficeIMO.OfficeColor
- The new colour.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
wordTheme.Name = value; wordTheme.Name(value);