Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all

I m trying to develop an application in which i Draw a rectangle on PDF using Accusoft pdfXpress rectangle tool, Now i have coordinates of the paragraph i selected. Now what i want to do is Text extract from this region with font.
I've already extracted plain text from many libraries like itextsharp, PDFBOX, Aspose but i m unable to fetch text with font. Please Provide some help regarding this.

-Thanks
Posted

1 solution

I used pdftotxt provided by http://www.pdf2txt.com/[^] in one of my projects; I was also required to have almost the same functionality like yours and that file helped me getting the font information of a pdf document. It creates a text file of the provided pdf file.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900