_Document.LockTheme Property

Definition

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.

Applies to