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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft