THotPDF.GetLoadedPDFAVersion Method

Returns the PDF/A part and conformance level that a loaded document declares in its XMP metadata, such as PDF/A-1b, PDF/A-2u, PDF/A-4 or PDF/A-4f. For a document being built with PDFACompliance, it returns the profile that will be written

Declaration

function GetLoadedPDFAVersion: AnsiString;

Unit

HPDFDoc

Parameters

NamePurpose
This member does not expose explicit parameters

Return value

PDF/A- followed by the pdfaid:part number and, when present, the pdfaid:conformance letter in lower case. Returns an empty string when the document carries no PDF/A identification

XMP identificationResult
pdfaid:part 1, pdfaid:conformance BPDF/A-1b
pdfaid:part 2, pdfaid:conformance UPDF/A-2u
pdfaid:part 3, pdfaid:conformance APDF/A-3a
pdfaid:part 4, no pdfaid:conformancePDF/A-4
pdfaid:part 4, pdfaid:conformance E or FPDF/A-4e or PDF/A-4f

Usage notes

Related APIs