_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; }
member this.DocumentTheme : Microsoft.Office.Core.OfficeTheme
Public ReadOnly Property DocumentTheme As OfficeTheme

Property Value

OfficeTheme

Remarks

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

Applies to