_Document.LockTheme property

Office 2013 and later

Returns or sets a Boolean that represents whether a user can change a document theme. Read/write.

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

bool LockTheme { get; set; }

Property value

Type: System.Boolean

Use the ApplyDocumentTheme(String) method to apply a Microsoft Office theme. Use the DocumentTheme property to return the Office theme that is applied to a document.