Class
ThemeFonts

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:

cs-api-definition
public class ThemeFonts

Inheritance: objectThemeFonts

Constructors

ThemeFonts(string, string, string)

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

Declaration

cs-api-definition
public ThemeFonts(string latinFontName = null, string eastAsianFontName = null, string complexScriptFontName = null)

Parameters

latinFontName

string

Name of the latin font.

eastAsianFontName

string

Name of the east asian font.

complexScriptFontName

string

Name of the complex script font.

Properties

this[FontLanguageType]

Gets the theme font for the specified language group.

Declaration

cs-api-definition
public ThemeFont this[FontLanguageType fontLanguageType] { get; }

Parameters

fontLanguageType

FontLanguageType

Property Value

ThemeFont

The theme font.

Methods

Clone()

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

Declaration

cs-api-definition
public ThemeFonts Clone()

Returns

ThemeFonts

The cloned theme fonts.

Equals(object)

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

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

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)

GetHashCode()

Serves as a hash function for a particular type.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for the current object.

Overrides object.GetHashCode()