Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How Can I extract text from a rectangle area of a PDF ?

my pdf is searchable.

What I have tried:

I used to convert my PDF into a IMAGE and select the desired area by dragging a rectangle and convert it to text by using Tesseract OCR. But now this is not the answer and I have to extract the text directly from my pdf.
Posted
Updated 3-Dec-22 5:14am
Comments
Richard MacCutchan 3-Dec-22 3:31am    
You would need to use a PDF library such as iTextSharp to extract the data.
moshaveran 3-Dec-22 6:26am    
Do You have examples of doing that?

1 solution

How about you Google for "C# iTextSharp Extract text from PDF example".
 
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