Solved

Extracting clean text from a PDF

Posted on 2010-08-18
2
594 Views
Last Modified: 2013-12-17
I have Adobe 9 Pro installed. Can I use the pdf library from its .dlls to access objects from a PDF?
What I want to accomplish is to programmatically (so not manually) get the output as in the attached 2927oc NTL_rulesOnly.txt from 2927oc NTL.pdf.

The PDF has all sorts of special characters that I’d like to skip.

Is there another tool that I can integrate into a Visual Studio project and which can do that? 0181749251.zip
0
Comment
Question by:mihaisz
2 Comments
 
LVL 8

Accepted Solution

by:
SylvainDrapeau earned 250 total points
ID: 33471410
Hello !

Look at this here : http://itextpdf.com/

It should do what you need.

Check here for an example : http://www.codeproject.com/KB/cs/PDFToText.aspx

Syldra
0
 
LVL 7

Assisted Solution

by:DanSo1
DanSo1 earned 250 total points
ID: 33499547
You don't need to use external libraries.
Just use clipboard. Simply programatically open your document in any version of Acrobat Reader, then select all, copy, paste to txt file.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linq Help 1 35
Resolve Dependency Issues 4 42
Host asp.net pages 5 25
I need help making a collection from a class in VB.Net 3 23
Update 21-May-2015: I temporarily removed the source code to make major changes to the program. Regards, Joe INTRODUCTION This article presents a solution to a question (http://www.experts-exchange.com/Programming/Installation/Q_28396542.html)…
Have you ever come up with a need of emailing only few pages of PDF file to one of yourfriend or colleague, instead of whole Adobe file? If yes, then surely you have face problems in doing that! Read this section as I have suggested multiple solutio…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
We often encounter PDF files that are pure images, that is, they do not have text characters, but instead contain only raster graphics. The most common causes of this are document scanning software and faxing software/services that create image-only…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now