Share via


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

Syntax

'Declaration
ReadOnly Property ActiveThemeDisplayName As String
    Get
'Usage
Dim instance As _Document
Dim value As String

value = instance.ActiveThemeDisplayName
string ActiveThemeDisplayName { get; }

Property Value

Type: System.String

Remarks

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.

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace