This documentation is archived and is not being maintained.

_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)

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

value = instance.DocumentTheme

Property Value

Type: OfficeTheme
OfficeTheme

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

Show: