PdfDocumentEncryptionMode Enumeration (original) (raw)

Summary

Specifies the PDF document encryption mode.

Syntax

lt.Document.Writer.PdfDocumentEncryptionMode = { rc40Bit: 0, rc128Bit: 1 }

lt.Document.Writer.PdfDocumentEncryptionMode = { rc40Bit: 0, rc128Bit: 1 }

Members

0 Rc40Bit (0) Use 40-bit RC4 encryption mode.
1 Rc128Bit (1) Use 128-bit RC4 encryption mode.

Remarks

The PdfDocumentEncryptionMode enumeration is used as the type for thePdfDocumentOptions.EncryptionMode property.

PDF encryption mode along with the owner password and the different owner access right properties allow creating customized security level in the resulting PDF document. For more information, refer toPdfDocumentOptions.IsProtected.

Leadtools.Document Assembly