ThemeFontScheme
Set of major/minor theme fonts, each providing language-specific families resolved during rendering.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Theming
Assembly:Telerik.Windows.Documents.Core.dll
Syntax:
public class ThemeFontScheme : NamedObjectBase, INamedObject
Inheritance: objectNamedObjectBaseThemeFontScheme
Implements:
Inherited Members
Constructors
Initializes a new instance of the ThemeFontScheme class with optional font names per language group for major and minor roles.
public ThemeFontScheme(string name, string latinMajorFontName = null, string latinMinorFontName = null, string eastAsianMajorFontName = null, string eastAsianMinorFontName = null, string complexScriptMajorFontName = null, string complexScriptMinorFontName = null)
The name.
latinMajorFontNamestringName of the latin headings font.
latinMinorFontNamestringName of the latin body font.
eastAsianMajorFontNamestringName of the east asian headings font.
eastAsianMinorFontNamestringName of the east asian body font.
complexScriptMajorFontNamestringName of the complex script headings font.
complexScriptMinorFontNamestringName of the complex script body font.
Methods
Create a deep copy of the scheme, duplicating major/minor mappings and language-specific fonts.
Determines whether the specified object is equal to the current ThemeFontScheme.
public override bool Equals(object obj)
The object to compare with the current instance.
Returns:True if the specified object is a ThemeFontScheme and all major/minor mappings resolve to equal ThemeFonts for each language group; otherwise, false.
Overrides:
Returns a hash code for the current ThemeFontScheme.
public override int GetHashCode()
A stable hash code computed from the major/minor font mappings, suitable for use in hashing algorithms and data structures.
Overrides:
Properties
Gets the ThemeFonts with the specified font type. Major is typically used for headings; Minor for body text.
public ThemeFonts this[ThemeFontType fontType] { get; }
The theme fonts.