Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
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;}
@property (nonatomic, assign) LTPdfDocumentEncryptionMode encryptionMode
public PdfDocumentEncryptionMode getEncryptionMode() public void setEncryptionMode(PdfDocumentEncryptionMode mode)
<br/>get_EncryptionMode();<br/>set_EncryptionMode(value);<br/>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.