PdfSaveOptions.ProducePdfA Property

Gets or sets a value indicating whether to save the document as a PDF/A-1b compliant one.

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

Syntax

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

Property Value

Type: Boolean
true if to produce a PDF/A-1b compliant document; otherwise, false.

Remarks

Default value: false.

If this property is true then all fonts will be embedded in the saved document.

If this property is true and the value of MetadataSyncMode property is DoNotSync then the library will ignore the sync mode setting and use PreferMetadata mode instead.

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.

See Also