Document.DocumentTheme Property

 

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

Namespace:   Microsoft.Office.Tools.Word
Assembly:  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.

Return to top
Show: