_Document.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.
Returns or sets a Boolean that represents whether a user can change a document theme. Read/write.
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
Boolean
Remarks
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.