Back to DOM
DOM.Styles.Theme
Namespace: DOM.Styles
Represents a named theme that groups font, format and color scheme resources for a document.
provides a single container for visual resources that can be applied consistently across a document (fonts, fills/lines/effects and color palettes). Consumers should consult the theme when producing styled content or when offering theme selection to end users. Theflag can be used by higher-level logic to mark which theme is currently applied.
5 members
Properties
ColorsIColorScheme
Gets or sets the color scheme associated with the theme.
FontsIFontScheme
Gets or sets the font scheme for this theme.
FormatSchemaIFormatScheme
Gets or sets the format scheme that groups fills, lines and effect presets.
IsActive
Gets or sets a value indicating whether this theme is currently active for the document.
Name
Gets or sets the theme's display name.