Document.DocumentTheme Property

Definition

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

public:
 property Microsoft::Office::Core::OfficeTheme ^ DocumentTheme { Microsoft::Office::Core::OfficeTheme ^ get(); };
public Microsoft.Office.Core.OfficeTheme DocumentTheme { get; }
member this.DocumentTheme : Microsoft.Office.Core.OfficeTheme
Public ReadOnly Property DocumentTheme As OfficeTheme

Property Value

A 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.

Applies to