Convert PDF to PDFA

Hi

I want to convert pdf file to PDF-A
what “log.xml” in below code looks like?
would you like to give me details or example about log.xml?
//open
document

Document pdfDocument = new Document("input.pdf");

//Convert to PDF/A compliant document

pdfDocument.Validate("log.xml", PdfFormat.PDF_A_1A);

pdfDocument.Convert("log.xml", PdfFormat.PDF_A_1A, ConvertErrorAction.Delete);

//save output document

pdfDocument.Save("output.pdf");

Hi,


Thanks for using our products.

The log.xml file generated as a result of Validation or conversion process contains information related to any errors which might occur during conversion process. In case you are facing any issue while converting PDF file to PDF/A, please share the source PDF document and the resultant PDF/A, so that we can test the scenario at our end.