Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extract text from a PDF file

Status
Not open for further replies.

itachi123

Programmer
Mar 25, 2009
1
US
Hello,

I am trying to find source code that will allow me to extract text from a PDF file and save it in a .txt format.

I am programming in Visual Studio 2005

xpdf is one program that is out there, however, it was desgined for linux and does not work when compiled in vs2005.

Another option is this:

Howver, this code seems to only work for certian compression schemes.

Any ideas on how to build xpdf or other code suggestions?

Thnx.
 
Not really.

Programmatically working with PDFs is a tricky thing.
Usually, you need to reference the Acrobat.tlb library, which is part of Acrobat Professional.
Then of course, I you do have Acrobat Professional, you can simply "Save As" Text.


[navy]"We had to turn off that service to comply with the CDA Bill."[/navy]
- The Bastard Operator From Hell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top