DocumentBase.LockTheme Property

Definition

Gets or sets a value that indicates whether users can change the document theme.

public bool LockTheme { get; set; }

Property Value

Boolean

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