Font family reference that can point to a concrete font name or a theme font slot.
Definition
Namespace:Telerik.Documents.SpreadsheetStreaming
Assembly:Telerik.Documents.SpreadsheetStreaming.dll
Syntax:
public class SpreadThemableFontFamily
Inheritance: objectSpreadThemableFontFamily
Constructors
Initializes a new instance of the SpreadThemableFontFamily class.
public SpreadThemableFontFamily(SpreadThemeFontType themeFontType)
Type of the theme font.
Initializes a new instance of the SpreadThemableFontFamily class.
public SpreadThemableFontFamily(string fontFamily)
The font family name.
Properties
Indicates whether the font family is resolved from the workbook theme instead of a fixed name.
public bool IsFromTheme { get; }
The value indicating if the font family comes from a theme.
Concrete font family name when not using a theme font; null if theme-based.
public string LocalValue { get; }
The local value of the font family.
Theme font role (Major/Minor) when theme-based.
public SpreadThemeFontType ThemeFontType { get; }
The type of the theme font.
Methods
Returns a string that represents the document themable font family.
public override string ToString()
A string that represents the document themable font family.
Overrides:
Operators
Determines whether the specified document themable font families are different.
public static bool operator !=(SpreadThemableFontFamily first, SpreadThemableFontFamily second)
True if the document themable font families are different; otherwise, false.
Determines whether the specified document themable font families are equal.
public static bool operator ==(SpreadThemableFontFamily first, SpreadThemableFontFamily second)
True if the document themable font families are equal; otherwise, false.