_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.
Returns an OfficeTheme object that represents the Microsoft Office theme applied to a document. Read-only.
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
Remarks
Use the ApplyDocumentTheme(String) method to apply an Office theme.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for