Gets or sets the encryption algorithm to use when saving the password-protected document.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfEncryptionAlgorithm Encryption { get; set; }
VB
Public Property Encryption As PdfEncryptionAlgorithm
	Get
	Set

Property Value

Type: PdfEncryptionAlgorithm
The encryption algorithm to use when saving the password-protected document.

Remarks

Document is password-protected if at least one of the OwnerPassword and UserPassword properties is set to a non-empty string.

See Also