The EncryptionMode Property is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
Gets or sets a value that indicate the encryption mode used to create the PDF document.Visual Basic (Declaration) | |
---|---|
Public Property EncryptionMode As PdfDocumentEncryptionMode |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As PdfDocumentOptions Dim value As PdfDocumentEncryptionMode instance.EncryptionMode = value value = instance.EncryptionMode |
C# | |
---|---|
public PdfDocumentEncryptionMode EncryptionMode {get; set;} |
C++/CLI | |
---|---|
public: property PdfDocumentEncryptionMode EncryptionMode { PdfDocumentEncryptionMode get(); void set ( PdfDocumentEncryptionMode value); } |
Property Value
An PdfDocumentEncryptionMode enumeration member that specify the encryption mode used to create the PDF document.PDF encryption mode along with the owner password and the different owner access right properties allow creating customized security level in the resulting PDF document. For more information, refer to Protected.
The EncryptionMode property is only used when the Protected property is set to true.
Note that EncryptionMode is not supported when PdfDocumentOptions.DocumentType is PdfDocumentType.PdfA.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7