Free Support Forum - aspose.com

Converting PDF to PDFA cause exception

Hello,
Using Aspose.Pdf.dll version 17.1.0.0

Converting pdf file in attachment with code:

PdfFormatConversionOptions opts = new PdfFormatConversionOptions(report, PdfFormat.PDF_A_2A, ConvertErrorAction.Delete);
bool converted = inputDocument.Convert(opts);
inputDocument.Save(outputFilePath);

causes exception System.ArgumentException, hexadecimal value 0x1F, is an invalid character. when calling inputDocument.Save(outputFilePath).

Changing conversion options not giving any result.

Thank you,
Konstatnin.

Hello Konstatnin,


Thanks for using our API’s.

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial; -webkit-text-stroke: #000000} span.s1 {font-kerning: none}

I have tested the scenario and have managed to reproduce the problem that conversion of your PDF document to PDFA causes exception. For the sake of correction, I have logged it as PDFNET-42181 in our issue tracking system.


Please be patient and spare us little time for investigation. We are sorry for this inconvenience.


Best Regards,

Hi,

Would you be so kind to provide us with status on the PDFNET-42181 issue?

Best regards,

Oleh

@uaprogrammer

We are afraid that earlier logged issue could not get resolved due to other high priority issues in the queue. We will surely inform you as soon as there are some certain updates regarding its resolution. Please spare us little time.

We are sorry for the inconvenience.