Export (0) Print
Expand All
Expand Minimize

_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.

Community Additions

ADD
Show:
© 2015 Microsoft