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 bool LockTheme { get; set; }
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.