Document.DocumentTheme Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.