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)

'Usage
Dim _Document1 As _Document

Dim returnValue As String
returnValue = _Document1.ActiveTheme

string ActiveTheme {get;}
public System.String get_ActiveTheme();
function get ActiveTheme() : 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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Community Additions

ADD
Show:
© 2014 Microsoft