Property ProducePdfA
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
ProducePdfA
Gets or sets a value indicating whether to save the document as a PDF/A-1b compliant one.
public bool ProducePdfA { get; set; }
Property Value
- bool
trueif to produce a PDF/A-1b compliant document; otherwise,false.
Remarks
Default value: false.
If the value of this property is true then the library will:
- Embed all fonts in the saved document.
-
Automatically call SyncMetadata(bool) method before saving the document.
The library will use
truefor the parameter of the method. - Ignore the value of the UseObjectStreams property because object streams are not allowed in PDF/A documents.
PDF/A documents can not be encrypted. Therefore, an exception will be thrown if you
try to set this property to true when EncryptionHandler is not
null.
There are files that can not be converted to valid PDF/A files while incrementally
updating those files. Therefore, the library ignores the value of
WriteIncrementally property when the value of this property is
true. The output file won't contain incremental updates.