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);
Object.defineProperty('EncryptionMode');
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.