ApiTheme

class ApiTheme

Description

Class representing a presentation theme.

Instance Methods

GetClassType(): theme

Returns the type of the ApiTheme class.

GetMaster(): ApiMaster | "null"

Returns the slide master of the current theme.

SetColorScheme(oApiColorScheme): boolean

Sets the color scheme to the current presentation theme.

GetColorScheme(): ApiThemeColorScheme

Returns the color scheme of the current theme.

SetFormatScheme(oApiFormatScheme): boolean

Sets the format scheme to the current presentation theme.

GetFormatScheme(): ApiThemeFormatScheme

Returns the format scheme of the current theme.

SetFontScheme(oApiFontScheme): boolean

Sets the font scheme to the current presentation theme.

GetFontScheme(): ApiThemeFontScheme

Returns the font scheme of the current theme.

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).