Click or drag to resize

PdfSecurity Encrypt Method

Overload List
Name Description
Public method Encrypt(String)
To Encrypt the PDF document with open password. Note:If set empty string value to open password, it indicates that the PDF document can be operated without providing corresponding password. Note: the document owner password should not be exist.
Public method Encrypt(String, PdfPermissionsFlags)
To Encrypt the PDF document with permission password and permissions. Note:The Permission password can't be empty string.
Public method Encrypt(String, String, PdfPermissionsFlags, PdfEncryptionKeySize)
To Encrypt the PDF document and set the encryption key size and permissions. Note:If set empty string value to open password or permission password, it indicates that the PDF document can be operated without providing corresponding password.
Top
See Also