We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

PdfExtractor Updating Original PDF

Hi,

Not sure if anyone else has had this issue, but when using ExtractText on some PDFs it seems to update the original file and cause the text in the PDF to get messed up when viewing in Adobe Reader.

  Document doc = new Document("document.pdf"); 
  PdfExtractor extractor = new PdfExtractor();
  extractor.BindPdf(doc);

  extractor.ExtractText(Encoding.UTF8); //This line seems to change the original file and then mess up the text

  doc.Save("output.pdf");

Sample project attached.

Thanks,
Nick

ChromeTest.zip (8.5 MB)

@ekvm.de

Thank you for contacting support.

We have worked with the data shared by you and have been able to reproduce the issue in our environment. A ticket with ID PDFNET-46248 has been logged in our issue management system for further investigation and resolution. The ticket ID has been linked with this thread so that you will receive notification as soon as the ticket is resolved.

We are sorry for the inconvenience.