PdfPublicKeyEncryptionHandler.EncryptMetadata Property

Gets or sets the value indicating whether to encrypt document metadata.

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

Syntax

C#
public bool EncryptMetadata { get; set; }
VB
Public Property EncryptMetadata As Boolean
	Get
	Set

Property Value

Type: Boolean
true if metadata should be encrypted; otherwise, false.

Remarks

Default value: true.

The value of this property is ignored if Algorithm is PdfEncryptionAlgorithm.Standard40Bit or PdfEncryptionAlgorithm.Standard128Bit. The metadata is always encrypted if one of these algorithms used.

See Also