DocumentBase.LockTheme Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether users can change the document theme.
public:
property bool LockTheme { bool get(); void set(bool value); };
public bool LockTheme { get; set; }
member this.LockTheme : bool with get, set
Public Property LockTheme As Boolean
Property Value
true
if users can change the document theme; otherwise, false
.
Remarks
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.