Export (0) Print
Expand All
Expand Minimize

Document.DocumentTheme Property

Gets the Microsoft Office theme that is applied to the document.

Namespace:  Microsoft.Office.Tools.Word
Assemblies:   Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

OfficeTheme DocumentTheme { get; }

Property Value

Type: Microsoft.Office.Core.OfficeTheme
A Microsoft.Office.Core.OfficeTheme object that represents the Microsoft Office theme that is applied to the document.

Use the ApplyDocumentTheme method to apply a Microsoft Office theme to the document.

Show:
© 2014 Microsoft