다음을 통해 공유


DocumentBase.LockTheme Property

Definition

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.

Applies to