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

Free Support Forum - aspose.com

Unable to get all the text from a page in a pdf file

Am using the example given for reading text from pdf file
TextDevice textDevice = new TextDevice();
TextExtractionOptions textExtOptions = new TextExtractionOptions(TextExtractionOptions.TextFormattingMode.Pure);
textDevice.ExtractionOptions = textExtOptions;
textDevice.Process(pdfPage, textStream);
extractedText = Encoding.Unicode.GetString(textStream.ToArray());

but this is only returning me the first line in the page
What is the issue?
MP09.pdf (1.4 MB)

@terrence123

I request you to specify on which page number are you facing the issue because several pages in your PDF file contain images.

Page no 1 as it contains text
The rest of the pages contain images

@terrence123

I have been able to reproduce the issue on our end. A ticket with ID PDFNET-50081 has been created in our issue tracking system to further investigate the issue on our end. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

It has been two weeks
What is the update on this?

@terrence123

Please note that it was logged in free support model and will be investigated and resolved on a first come first serve basis. We will surely inform you as soon as we make some definite progress towards its resolution. Please be patient and spare us some time.