ClassThemeFontScheme
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
ThemeFontScheme(string, string, string, string, string, string, string)
Initializes a new instance of the ThemeFontScheme class with optional font names per language group for major and minor roles.
Declaration
public ThemeFontScheme(string name, string latinMajorFontName = null, string latinMinorFontName = null, string eastAsianMajorFontName = null, string eastAsianMinorFontName = null, string complexScriptMajorFontName = null, string complexScriptMinorFontName = null)
Parameters
name
The name.
latinMajorFontName
Name of the latin headings font.
latinMinorFontName
Name of the latin body font.
eastAsianMajorFontName
Name of the east asian headings font.
eastAsianMinorFontName
Name of the east asian body font.
complexScriptMajorFontName
Name of the complex script headings font.
complexScriptMinorFontName
Name of the complex script body font.
Properties
this[ThemeFontType]
Gets the ThemeFonts with the specified font type. Major is typically used for headings; Minor for body text.
Declaration
public ThemeFonts this[ThemeFontType fontType] { get; }
Parameters
fontType
Property Value
The theme fonts.
Methods
Clone()
Create a deep copy of the scheme, duplicating major/minor mappings and language-specific fonts.
Declaration
public ThemeFontScheme Clone()
Returns
The cloned theme font scheme.
Equals(object)
Determines whether the specified object is equal to the current ThemeFontScheme.
Declaration
public override bool Equals(object obj)
Parameters
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
GetHashCode()
Returns a hash code for the current ThemeFontScheme.
Declaration
public override int GetHashCode()
Returns
A stable hash code computed from the major/minor font mappings, suitable for use in hashing algorithms and data structures.
Overrides