_Document.DocumentTheme Property

Returns an OfficeTheme object that represents the Microsoft Office theme applied to a document. Read-only.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
ReadOnly Property DocumentTheme As OfficeTheme
    Get
'Usage
Dim instance As _Document
Dim value As OfficeTheme

value = instance.DocumentTheme
OfficeTheme DocumentTheme { get; }

Property Value

Type: OfficeTheme
OfficeTheme

Remarks

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

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace