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)

'Declaration
Property LockTheme As Boolean
	Get
	Set
'Usage
Dim instance As _Document
Dim value As Boolean

value = instance.LockTheme

instance.LockTheme = value

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.

Community Additions

ADD
Show:
© 2015 Microsoft