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?