Class
OfficeThemeFont
OfficeIMO
A preferred font family with an ordered, immutable fallback list.
Inheritance
- object
- OfficeThemeFont
Usage
Explore 13 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 5
- Property OfficeThemeChartStyle.AxisFont
- Property OfficeThemeChartStyle.TitleFont
- Method OfficeThemeFont.With
- Property OfficeThemeFonts.Body
- Property OfficeThemeFonts.Heading
Accepted by parameters 8
- Constructor OfficeThemeChartStyle.OfficeThemeChartStyle
- Constructor OfficeThemeChartStyle.OfficeThemeChartStyle
- Method OfficeThemeChartStyle.With
- Method OfficeThemeChartStyle.With
- Constructor OfficeThemeFonts.OfficeThemeFonts
- Constructor OfficeThemeFonts.OfficeThemeFonts
- Method OfficeThemeFonts.With
- Method OfficeThemeFonts.With
Constructors
public OfficeThemeFont(string family, IReadOnlyList<string> fallbacks) #Creates immutable a preferred font family with an ordered, immutable fallback list.
Parameters
- family string
- fallbacks System.Collections.Generic.IReadOnlyList<string>
Methods
public OfficeThemeFont With(string? family = null, IReadOnlyList<string>? fallbacks = null) #Returns a copy with the supplied replacements; omitted values are retained.
Parameters
- family string? = null
- fallbacks System.Collections.Generic.IReadOnlyList<string>? = null
Returns
OfficeThemeFontInherited Methods
Properties
public IReadOnlyList<string> Fallbacks { get; } #Gets fallback families in preference order.