Share via


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)

Syntax

'Declaration
ReadOnly Property DocumentTheme As OfficeTheme
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.

Remarks

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

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace