←Select platform

EncryptionMode Property

Summary

Encryption mode to use when creating the PDF document.

Syntax
C#
VB
Objective-C
C++
Java
public PdfDocumentEncryptionMode EncryptionMode { get; set; } 
Public Property EncryptionMode As PdfDocumentEncryptionMode 
@property (nonatomic, assign) LTPdfDocumentEncryptionMode encryptionMode 
public PdfDocumentEncryptionMode getEncryptionMode() 
public void setEncryptionMode(PdfDocumentEncryptionMode mode) 
public: 
property PdfDocumentEncryptionMode EncryptionMode { 
   PdfDocumentEncryptionMode get(); 
   void set (    PdfDocumentEncryptionMode ); 
} 

Property Value

A PdfDocumentEncryptionMode enumeration member that specifies which encryption mode to use when creating the PDF document. Default value is PdfDocumentEncryptionMode.RC128Bit.

Remarks

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.

Example

For an example, refer to PdfDocumentOptions.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Writer Assembly