New to Telerik Document ProcessingStart a free 30-day trial

Group of theme fonts mapped per language group (Latin, East Asian, Complex Script) for major/minor usage.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Theming

Assembly:Telerik.Windows.Documents.Core.dll

Syntax:

C#
public class ThemeFonts

Inheritance: objectThemeFonts

Constructors

Initializes a new instance of the ThemeFonts class with optional font names per language group.

C#
public ThemeFonts(string latinFontName = null, string eastAsianFontName = null, string complexScriptFontName = null)
Parameters:latinFontNamestring

Name of the latin font.

eastAsianFontNamestring

Name of the east asian font.

complexScriptFontNamestring

Name of the complex script font.

Methods

Create a deep copy of the font mappings for all language groups.

C#
public ThemeFonts Clone()
Returns:

ThemeFonts

The cloned theme fonts.

Determines whether the specified object is equal to the current object.

C#
public override bool Equals(object obj)
Parameters:objobject

The object to compare with the current object.

Returns:

bool

true if the specified object is equal to the current object; otherwise, false.

Overrides: object.Equals(object)

Serves as a hash function for a particular type.

C#
public override int GetHashCode()
Returns:

int

A hash code for the current object.

Overrides: object.GetHashCode()

Properties

Gets the theme font for the specified language group.

C#
public ThemeFont this[FontLanguageType fontLanguageType] { get; }
Parameters:fontLanguageTypeFontLanguageTypeProperty Value:

The theme font.