This documentation is archived and is not being maintained.

_Document.ActiveThemeDisplayName Property

Returns the display name of the active theme for the specified document.

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

string ActiveThemeDisplayName { get; }

Property Value

Type: System.String

This property returns "none" if the document doesn't have an active theme.

A theme's display name is the name that appears in the Theme dialog box. This name may not correspond to the string you would use to set a default theme or to apply a theme to a document.