Back to VDocs
SetActiveThemeMethod
Definition
- Namespace
- DOM
- Assembly
- VDocs.dll
Sets the active theme for the document by name.
SetActiveTheme(string themeName)Parameters
- themeName
- The name of the theme to activate.
Remarks
Themes provide a consistent set of colors, fonts, and effects for the document. Available themes include "Office", "Apex", "Aspect", "Cityscape", and more.
Examples
csharp
1var doc = new VDocs();
2doc.SetActiveTheme("Office");
3