_Document.LockTheme Property
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)
Syntax
'Declaration
Property LockTheme As Boolean
Get
Set
'Usage
Dim instance As _Document
Dim value As Boolean
value = instance.LockTheme
instance.LockTheme = value
bool LockTheme { get; set; }
Property Value
Type: System.Boolean
Boolean
Remarks
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.