WordProcessingProtection Constructor (WordProcessingProtectionType, String)
Allows to set all parameters during class instantiation

Namespace: GroupDocs.Editor.Options
Assembly: GroupDocs.Editor (in GroupDocs.Editor.dll) Version: 21.4.0.0
Syntax
public WordProcessingProtection(
	WordProcessingProtectionType protectionType,
	string password
)

Parameters

protectionType
Type: GroupDocs.Editor.OptionsWordProcessingProtectionType
Set the protection type of the document
password
Type: SystemString
Set the protection password
See Also