_Document.LockTheme 属性

定义

返回或设置一个 boolean 类型的值 ,该值代表用户是否可以更改文档主题。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

属性值

Boolean

BooleanBoolean

注解

使用 ApplyDocumentTheme(String) 方法应用 Microsoft Office 主题。Use the ApplyDocumentTheme(String) method to apply a Microsoft Office theme. 使用 DocumentTheme 属性返回应用于文档的 Office 主题。Use the DocumentTheme property to return the Office theme that is applied to a document.

适用于