Class PdfAConverter
Converts a document to PDF/A-2b, -3b or -1b: a complete rewrite (no earlier revisions, no encryption) that keeps every page's appearance. Fonts that are not embedded are embedded from the installed fonts; an sRGB output intent (generated, not shipped) is added and device colour is given default colour spaces; XMP metadata is rebuilt from the valid existing properties and the document information; scripts, forbidden actions, external content, transfer functions and similar are removed; annotations are made printable and get appearances; text codes whose glyph the font program lacks are taken out; the result is then validated, and whatever could not be fixed is reported. For PDF/A-1b, transparency is flattened (PdfEngine.Vector.PdfA.TransparencyFlattener) when a rasterizer is given; otherwise a document that uses it is refused.
public static class PdfAConverter
- Inheritance
-
PdfAConverter
- Inherited Members
Methods
Convert(PdfVectorDocument, byte[], PdfAConversionOptions?)
public static PdfAConversionResult Convert(PdfVectorDocument document, byte[] original, PdfAConversionOptions? options = null)
Parameters
documentPdfVectorDocumentoriginalbyte[]optionsPdfAConversionOptions