Property EncryptMetadata
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
EncryptMetadata
Gets or sets the value indicating whether this PdfStandardEncryptionHandler should encrypt document metadata.
public bool EncryptMetadata { get; set; }
Property Value
- bool
true
if metadata should be encrypted by this PdfStandardEncryptionHandler; 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 by this PdfStandardEncryptionHandler if one of these algorithms used.
The Encrypt PDF documents in C# and VB.NET article describes how to encrypt PDF documents.