Free Support Forum - aspose.com

FormatException Input string was not in a correct format on save of PDF with added text layer

Hi,

We are getting either a “FormatException Input string was not in a correct format.” or somtimes a “attempted to divide by zero” error on saving a PDF file with added text layer.

I created a .Net test application that uses the pdf and ocr xml file bin/debug folder. The error occurs on the Aspose.Pdf.Document Save function.

WindowsFormsApp2.zip (971.5 KB)

Is there a problem with our code or the ocr data that causes this?

@andreas4e47b

We have logged an investigation ticket as PDFNET-47480 in our issue tracking system. We will further look into details of this scenario and keep you posted with the status of ticket resolution. Please be patient and spare us little time.

We are sorry for the inconvenience.

Hi, can you give me an update about this issue? Is there a solution in sight? What is the timeframe expected for a solution? Thanks.

@andreas4e47b,

Thanks for contacting support.

We like to inform that issue has been added recently in our issue tracking system and in Aspose.PDF forum the issues are selected for investigation on first come first serve basis. Also the first priority for scheduling and resolution is given to paid Enterprise and priority support customers. Then Aspose.PDF normal or free support customers issues are scheduled and resolved on first come and first come serve basis. We will share the further information with you as soon as the issue will be resolved.

Thank you Adnan, I will pass it on.

@andreas4e47b,

You are very welcome.