_Document.DocumentTheme _Document.DocumentTheme _Document.DocumentTheme Property

Definition

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; }
Public ReadOnly Property DocumentTheme As OfficeTheme

Property Value

Remarks

Use the ApplyDocumentTheme(String) method to apply an Office theme.

Applies to