Export (0) Print
Expand All
Expand Minimize

_Document.ActiveTheme property

Returns the name of the active theme plus the theme formatting options for the specified document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

string ActiveTheme { get; }

Property value

Type: System.String

This property returns "none" if the document doesn't 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 may not correspond to the theme's display name. To return a theme's display name, use the ActiveThemeDisplayName property.

Show:
© 2014 Microsoft