encryptionMode Property

Summary

Indicates which encryption mode to use when creating the PDF document.

Syntax
TypeScript
JavaScript
Object.defineProperty(PdfDocumentOptions.prototype, 'encryptionMode', 
   get: function(), 
   set: function(value) 
) 
encryptionMode: 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 IsProtected.

The EncryptionMode property is only used when the IsProtected property is set to true.

Note that EncryptionMode is not supported when DocumentType is PdfDocumentType.PdfA.

Requirements

Target Platforms

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

Leadtools.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.