Free Support Forum - aspose.com

Extracting Text from PDF Page by Page

Hi,

I'm evaluating Aspose.PDF.Kit component (Java and .Net). I've a requirement where I need to read the contents of the PDF page by page where as in the API it returns all the text into a single file.

Whether is it possible to extract text page by page and return it to different files? Any other alternate solution is also welcomed. I need the feedback asap as it very urgent.

Nataraj

Hi Nataraj,

You can use PdfExtractor class to extract text from a complete PDF file or page by page. You can use GetNextPageText method to extract text from a single page. Please find an example on this link.

I hope this helps. If you have any more questions or need further assistance, please do let us know.
Regards,