Aspose.Words.Themes Namespace

The Aspose.Words.Themes namespace provides classes that allow to access theme information in Microsoft Word documents.

A document theme can specify fonts and colors to be used in a document. Themes are supported in Word 2007 and higher.

Classes
  ClassDescription
Public classCode exampleTheme
Represents document Theme, and provides access to main theme parts including MajorFonts, MinorFonts and Colors
Public classCode exampleThemeColors

Represents the color scheme of the document theme which contains twelve colors.

ThemeColors object contains six accent colors, two dark colors, two light colors and a color for each of a hyperlink and followed hyperlink.

Public classCode exampleThemeFonts
Represents a collection of fonts in the font scheme, allowing to specify different fonts for different languages Latin, EastAsian and ComplexScript.