IProtectionManager class
Contents
[
Hide
]IProtectionManager class
Presentation password protection management.
The IProtectionManager type exposes the following members:
Properties
Property | Description |
---|---|
encrypt_document_properties | This property makes sense, if presentation is password protected. If true then document properties is encrypted in presentation file. If false then document properties is public while presentation is encrypted. Read/write bool. |
is_encrypted | Gets a value indicating whether this instance is encrypted. Read-only bool. |
is_only_document_properties_loaded | This property makes sense, if presentation file is password protected and document properties of this file are public. Value of true means that only document properties are loaded from an encrypted presentation file without use of password. Value of false means that entire encrypted presentation is loaded with use of right password, not only document properties are loaded. If presentation isn’t encrypted then property value is always false. If document properties of an encrypted file aren’t public then property value is always false. If PresentationEx.EncryptDocumentProperties is true than IsOnlyDocumentPropertiesLoaded property value is always false. Read-only bool. |
is_write_protected | Gets a value indicating whether this presentation is write protected. Read-only bool. |
encryption_password | Returns encryption password. Read-only str. |
read_only_recommended | Gets or sets read-only recommendation. Read/write bool. |
Methods
Method | Description |
---|---|
encrypt | Encrypts Presentation with specified password. |
remove_encryption | Removes the encryption. |
set_write_protection | Set write protection for this presentation with specified password. |
remove_write_protection | Removes write protection for this presentation. |
check_write_protection | Determines whether a presentation is a password protected to modify. |
See Also
- module
aspose.slides
- library
Aspose.Slides