VARIANT_BOOL ProducePDFA { get; set; } |
Setting ProducePDFA to VARIANT_TRUE means that the output PDF file will be built compatible to the PDF/A standard. You should set this property before any text or graphics output.
PDF/A format means:
Note: Setting this property to VARIANT_TRUE will force the output file format version to be 1.4. See compatibility for more details.
{ PDF object is supposed to be created } PDF.SetLicenseData('demo', 'demo'); PDF.ProducePDFA := true; { Here we create our document and fill its contents. } PDF.SaveToFile('test.pdf', false); { Now the file created is PDF/A compatible. }
// PDF object is supposed to be created PDF->SetLicenseData("demo", "demo"); PDF->ProducePDFA = true; // Here we create our document and fill its contents. PDF->SaveToFile("test.pdf", false); // Now the file created is PDF/A compatible.
// PDF object is supposed to be created PDF.SetLicenseData("demo", "demo"); PDF.ProducePDFA = true; // Here we create our document and fill its contents. PDF.SaveToFile("test.pdf", false); // Now the file created is PDF/A compatible.
' PDF object is supposed to be created PDF.SetLicenseData "demo", "demo" PDF.ProducePDFA = True ' Here we create our document and fill its contents. PDF.SaveToFile "test.pdf", false ' Now the file created is PDF/A compatible.