VegaRise.NET
HomeAPI Reference
Back to Document

SetActiveThemeMethod

Definition

Namespace
DOM.Elements
Assembly
DOM.dll

Sets the active theme for the document by name.

SetActiveTheme(string themeName)

Parameters

themeName
The name of the theme to activate.

Exceptions

  • System.Exception: Thrown when the specified theme does not exist in . DocumentStyles

Remarks

Only one theme can be active at a time. Activating a theme will automatically deactivate all other themes in the document.