protect method
protect
Protects the document from changes and sets a protection password.
def protect(self, protection_type, password):
...
| Parameter | Type | Description |
|---|---|---|
| protection_type | groupdocs.watermark.contents.wordprocessing.WordProcessingProtectionType | Specifies the protection type for the document. |
| password | System.String | The password to protect the document with. |