WordProcessingProtection

WordProcessingProtection class

Encapsulates document protection options for the WordProcessing document, which is generated from HTML

public sealed class WordProcessingProtection

Constructors

Name Description
WordProcessingProtection() Parameterless constructor - all parameters have default values
WordProcessingProtection(WordProcessingProtectionType, string) Allows to set all parameters during class instantiation

Properties

Name Description
Password { get; set; } The password to protect the document with. If null or empty string - the protection will not be applied to the document.
ProtectionType { get; set; } Allows to set a protection type of the document. By default is set to not protect the document at all.

See Also