Protect

WordProcessingContent.Protect method

Protects the document from changes and sets a protection password.

public void Protect(WordProcessingProtectionType protectionType, string password)
Parameter Type Description
protectionType WordProcessingProtectionType Specifies the protection type for the document.
password String The password to protect the document with.

Remarks

To have the content of the document editable use appropriate method of adding watermark with AllowOnlyFormFields or ReadOnlyWithEditableContent parameter.

See Also