_Document.ActiveThemeDisplayName Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the display name of the active theme for the specified document.
public:
property System::String ^ ActiveThemeDisplayName { System::String ^ get(); };
C#
public string ActiveThemeDisplayName { get; }
member this.ActiveThemeDisplayName : string
Public ReadOnly Property ActiveThemeDisplayName As 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.
Product | Versions |
---|---|
Word primary interop assembly | Latest |