Class PdfAValidator
Checks a document against PDF/A-1, -2 or -3 (ISO 19005), level B or U: the file's syntax, every object's limits, colour and output intents, fonts, images, transparency, annotations, forms, actions and the XMP metadata with its schemas. Each issue names its clause and test as the veraPDF validation profiles number them, so reports can be compared with that reference. Only reads: nothing in the document is executed or changed.
public static class PdfAValidator
- Inheritance
-
PdfAValidator
- Inherited Members
Methods
ClaimedFlavor(PdfVectorDocument)
The conformance the document's XMP metadata claims (pdfaid:part and pdfaid:conformance), or null.
public static PdfAFlavor? ClaimedFlavor(PdfVectorDocument document)
Parameters
documentPdfVectorDocument
Returns
Validate(PdfVectorDocument, byte[], PdfAFlavor?)
Validates against flavor, or against what the document claims to be
(PDF/A-2b when it claims nothing).
public static PdfAReport Validate(PdfVectorDocument document, byte[] file, PdfAFlavor? flavor = null)
Parameters
documentPdfVectorDocumentfilebyte[]flavorPdfAFlavor