Expand Minimize

Document.ActiveTheme Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the name of the active theme plus the theme formatting options for the document.

Namespace:  Microsoft.Office.Tools.Word
Assemblies:   Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

string ActiveTheme { get; }

Property Value

Type: System.String
The name of the active theme plus the theme formatting options for the document.

This property returns "none" if the document does not have an active theme.

For an explanation of the value returned by this property, see the Name argument of the ApplyTheme method. The value returned by this property might not correspond to the theme's display name. To return a theme's display name, use the ActiveThemeDisplayName property.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft