Leadtools.Forms.DocumentWriters Namespace > PdfDocumentOptions Class : EncryptionMode Property |
public PdfDocumentEncryptionMode EncryptionMode {get; set;}
'Declaration Public Property EncryptionMode As PdfDocumentEncryptionMode
'Usage Dim instance As PdfDocumentOptions Dim value As PdfDocumentEncryptionMode instance.EncryptionMode = value value = instance.EncryptionMode
public PdfDocumentEncryptionMode EncryptionMode {get; set;}
get_EncryptionMode();
set_EncryptionMode(value);
public: property PdfDocumentEncryptionMode EncryptionMode { PdfDocumentEncryptionMode get(); void set ( PdfDocumentEncryptionMode value); }
The PDF encryption mode, along with owner passwords and the different owner access right properties, allow the security level of the resulting PDF document to be customized. 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2