Class ThemeFontScheme
Set of major/minor theme fonts, each providing language-specific families resolved during rendering.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Theming
Assembly: Telerik.Windows.Documents.Core.dll
Syntax
public class ThemeFontScheme : NamedObjectBase, INamedObject
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
|
System.String
name
The name. |
|
System.String
latinMajorFontName
Name of the latin headings font. |
|
System.String
latinMinorFontName
Name of the latin body font. |
|
System.String
eastAsianMajorFontName
Name of the east asian headings font. |
|
System.String
eastAsianMinorFontName
Name of the east asian body font. |
|
System.String
complexScriptMajorFontName
Name of the complex script headings font. |
|
System.String
complexScriptMinorFontName
Name of the complex script body font. |
Properties
Item[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
|
ThemeFontType
fontType
|
Property Value
|
ThemeFonts
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
|
ThemeFontScheme
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
|
System.Object
obj
The object to compare with the current instance. |
Returns
|
System.Boolean
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
|
System.Int32
A stable hash code computed from the major/minor font mappings, suitable for use in hashing algorithms and data structures. |