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

Free Support Forum - aspose.com

Extract Text from PDF bad formatting

Hello,
I’m using the demo code from http://www.aspose.com/docs/display/pdfnet/Extract+Text+from+Pages+of+PDF+Document
to extract text from the attached files (report1.pdf and report2.pdf)

for some reasons on report1 the text that is aligned to the right of the page on page 2 does not get extracted to text correctly and gets left aligned.

---------------------------------------------------------------------
REPORT
asfdasdfasdfasfdsafd fsadfasdfasdfasdf


aaaa SOME INFO ON PAGE 1
Test aadfsafasdt
Signature
09/29/2011 14:06
---------------------------------------------------------------------


if you try the same on report2.pdf the output text is fine.

---------------------------------------------------------------------
REPORT
asfdasdfasdfasfdsafd fsadfasdfasdfasdf


aaaa SOME INFO ON PAGE 1
abcd
Test aadfsafasdt
Signature
09/29/2011 14:06
---------------------------------------------------------------------


can you please advise


Hi Akram,

Thanks for your inquiry. While testing the scenario with your shared document, we have managed to reproduce the issue with latest version of Aspose.Pdf for .NET 9.7.0. We have logged a ticket PDFNEWNET-37626 in our issue tracking system for further investigation and resolution. We will notify you as soon as it is resolved.

We are sorry for the inconvenience caused.

Best Regards,