This documentation is archived and is not being maintained.

DocumentBase.LockTheme Property

 

Gets or sets a value that indicates whether users can change the document theme.

Namespace:   Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

public bool LockTheme { get; set; }

Property Value

Type: System.Boolean

true if users can change the document theme; otherwise, false.

Use the ApplyDocumentTheme method to apply a Microsoft Office theme. Use the DocumentTheme property to get the Microsoft Office theme that is applied to the document.

Return to top
Show: