[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.EditProtection

Class EditProtection

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents the edit protection settings of a document.

public class EditProtection
Inheritance
object
EditProtection
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Properties

AllowAutoformatToOverrideFormatRestrictions

When set, overrides the LimitFormattingToUnlockedStyles mode for autoformat.

public bool AllowAutoformatToOverrideFormatRestrictions { get; set; }

Property Value

bool

EditMode

Gets or sets the protection mode.

public EditProtectionMode EditMode { get; set; }

Property Value

EditProtectionMode

IsActive

Gets or sets a value indicating whether to apply protection mode defined in this class.

public bool IsActive { get; set; }

Property Value

bool

LimitFormattingToUnlockedStyles

Specifies whether formatting restrictions are applied to the document.

If true, prevents the use of direct formatting and the use of styles with the Locked property value of true.

public bool LimitFormattingToUnlockedStyles { get; set; }

Property Value

bool

Password

Gets or sets the password.

public Password Password { get; set; }

Property Value

Password