Class
ThemeFont

Represents the font in a theme.

Definition

Namespace:Telerik.WinForms.Documents.Spreadsheet.Theming

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

cs-api-definition
public class ThemeFont

Inheritance: objectThemeFont

Constructors

ThemeFont(FontFamily, FontLanguageType)

Initializes a new instance of the ThemeFont class.

Declaration

cs-api-definition
public ThemeFont(FontFamily fontFamily, FontLanguageType fontLanguageType)

Parameters

fontFamily

FontFamily

The font family.

fontLanguageType

FontLanguageType

The type of font language.

ThemeFont(string, FontLanguageType)

Initializes a new instance of the ThemeFont class.

Declaration

cs-api-definition
public ThemeFont(string fontName, FontLanguageType fontLanguageType)

Parameters

fontName

string

Name of the font.

fontLanguageType

FontLanguageType

Type of the font language.

Properties

FontFamily

Gets the font family.

Declaration

cs-api-definition
public FontFamily FontFamily { get; }

Property Value

FontFamily

The font family.

FontLanguageType

Gets the type of the font language.

Declaration

cs-api-definition
public FontLanguageType FontLanguageType { get; }

Property Value

FontLanguageType

The type of font language.

Methods

Equals(object)

Declaration

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

Parameters

obj

object

Returns

bool

Overrides object.Equals(object)

GetHashCode()

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

Overrides object.GetHashCode()