ThemeFontSchemeFonts
Provides properties describing fonts in a theme font scheme.
Definition
Namespace:Telerik.WinForms.Controls.Spreadsheet.Controls
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
public class ThemeFontSchemeFonts
Inheritance: objectThemeFontSchemeFonts
Constructors
public ThemeFontSchemeFonts()
Methods
Chooses a preview style by preferring Regular, then Bold, then Italic; falls back to Strikeout if none are available.
Gets the Latin-language font family assigned to the scheme's major (heading) font.
public static FontFamily GetMajorFromScheme(ThemeFontScheme fontScheme)
The scheme containing the major font definition.
Returns:The major font family as a drawing font family.
Gets the Latin-language font family assigned to the scheme's minor (body) font.
public static FontFamily GetMinorFromScheme(ThemeFontScheme fontScheme)
The scheme containing the minor font definition.
Returns:The minor font family as a drawing font family.
Returns the scheme name used to label a theme-font gallery item.
public static string GetNameFromScheme(ThemeFontScheme fontScheme)
The theme-font scheme whose name is requested.
Returns:The scheme's name.