New to Telerik UI for WinForms? Start a free 30-day trial

Represents the font scheme of a theme.

Definition

Namespace:Telerik.WinForms.Documents.Spreadsheet.Theming

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class ThemeFontScheme : NamedObjectBase, INamedObject

Inheritance: objectNamedObjectBaseThemeFontScheme

Implements: INamedObject

Inherited Members NamedObjectBase.Name

Constructors

Initializes a new instance of the ThemeFontScheme class.

C#
public ThemeFontScheme(string name, string latinMajorFontName = null, string latinMinorFontName = null, string eastAsianMajorFontName = null, string eastAsianMinorFontName = null, string complexScriptMajorFontName = null, string complexScriptMinorFontName = null)
Parameters:namestring

The name.

latinMajorFontNamestring

Name of the latin headings font.

latinMinorFontNamestring

Name of the latin body font.

eastAsianMajorFontNamestring

Name of the east asian headings font.

eastAsianMinorFontNamestring

Name of the east asian body font.

complexScriptMajorFontNamestring

Name of the complex script headings font.

complexScriptMinorFontNamestring

Name of the complex script body font.

Properties

Gets the ThemeFonts with the specified font type.

C#
public ThemeFonts this[ThemeFontType fontType] { get; }
Parameters:fontTypeThemeFontTypeProperty Value:

The theme fonts.

Methods

Creates deep copy of this theme font scheme.

C#
public ThemeFontScheme Clone()
Returns:

ThemeFontScheme

The cloned theme font scheme.

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

bool

Overrides: object.Equals(object)

C#
public override int GetHashCode()
Returns:

int

Overrides: object.GetHashCode()