Visual Basic (Declaration) | |
---|---|
Public Property EncryptionMode As PdfDocumentEncryptionMode |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public PdfDocumentEncryptionMode EncryptionMode {get; set;} |
C++/CLI | |
---|---|
public: property PdfDocumentEncryptionMode EncryptionMode { PdfDocumentEncryptionMode get(); void set (PdfDocumentEncryptionMode value); } |
Return Value
An PdfDocumentEncryptionMode enumeration member that specify the encryption mode used to create the PDF document.For an example, refer to PdfDocumentOptions.
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 DocumentType is PdfDocumentType.PdfA.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family