Skip to main content

ApiThemeFontScheme

Class representing a theme font scheme.

Methods​

The following table lists the available methods.

MethodReturnsDescription
CopyApiThemeFontSchemeCreates a copy of the current theme font scheme.
GetClassType"themeFontScheme"Returns the type of the ApiThemeFontScheme class.
GetMajorFontstring | null | undefinedReturns the major theme font of the current theme font scheme.
GetMinorFontstring | null | undefinedReturns the minor theme font of the current theme font scheme.
GetSchemeNamestringReturns the name of the current theme font scheme.
SetFontsNoneSets the fonts to the current theme font scheme.
SetSchemeNamebooleanSets a name to the current theme font scheme.
ToJSONJSONConverts the ApiThemeFontScheme object into the JSON object.