Class
ThemeFonts

A collection of fonts for a theme, each corresponding to a language type.

Definition

Namespace:Telerik.WinForms.Documents.Spreadsheet.Theming

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

cs-api-definition
public class ThemeFonts

Inheritance: objectThemeFonts

Constructors

ThemeFonts(string, string, string)

Initializes a new instance of the ThemeFonts class.

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 ThemeFont with the specified font language type.

Declaration

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

Parameters

fontLanguageType

FontLanguageType

Property Value

ThemeFont

The theme font.

Methods

Clone()

Creates deep copy of this theme fonts.

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()