Skip to end of metadata
Go to start of metadata

The first line of every PDF document is a file header with the characters “%PDF-“ followed by a version number, shown as “1.n,” where “n” would be a digit from 0 to 7. So the first line of a PDF document might look like this:


The Adobe PDF Library by default always sets the highest version level available.

When generating PDF output from DLI, the internal PDF Compliance Level declaration to be issued is made up of two internal component values within the DLPDFDOC structure, pdfMajorVer and pdfMinorVer. You can override its default version declaration by plugging in an alternate pdfMajorVer or pdfMinorVer value. These parameters together offer a major member and a minor member, referring to the first and second numbers in the version number. For example, if you set these the pdfMajorVer value to 1 and the pdfMinorVer value to 7, the method will generate a PDF document and label it as version 1.7-compliant.

If higher-level functions are used within the output PDF document, the pdfMinorVer will be incremented as appropriate. You can force the declared Compliance Level by assigning the value you want to pdfMinorVer within your DLI application. Be careful that you do not force a compliance level declaration that is lower than the features available in a PDF document. For example, if you are using Optional Content Group coding, do not declare a PDF Compliance Level lower than v1.5.

  • No labels