Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeThemeFont

OfficeIMO

Namespace
OfficeIMO
Assembly
OfficeIMO.Core
Source revision
e163ccb36643 with working tree changes
Modifiers
sealed

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.

Accepted by parameters 8

Constructors

public OfficeThemeFont(string family, IReadOnlyList<string> fallbacks) #

Creates immutable a preferred font family with an ordered, immutable fallback list.

Parameters

family string required
fallbacks System.Collections.Generic.IReadOnlyList<string> required

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 optional
fallbacks System.Collections.Generic.IReadOnlyList<string>? = null optional

Properties

public string Family { get; } #

Gets the preferred font family.

public IReadOnlyList<string> Fallbacks { get; } #

Gets fallback families in preference order.