Export (0) Print
Expand All
Expand Minimize

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

bool LockTheme { get; set; }

Property value

Type: System.Boolean
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.

Show:
© 2015 Microsoft