Extract text from a PDF file-pdflib Tet Library

Source: Internet
Author: User

 

The first thing to note is that we use the pdflib Tet library instead of the pdflib library. What I see on the Internet is that we use pdflib, which is wrong. Pdflib can only generate PDF files. Cannot be read. to read data, use the Tet library. The trial version is used here.

 

1. Visit the official websiteHttp://www.pdflib.com/download/tet/Download the C ++ support installation package:

Instructions on the official website:

Pdflib Tet can be evaluated without a license, but will only process PDF documents ents with up to 10 pages and 1 MB size unless a valid license key is applied.

2. Installation: C: \ Program Files \ pdflib \ Tet 4.1 32-bit

3. There is a CPP instance under c: \ Program Files \ pdflib \ Tet 4.1 32-bit \ bind \ CPP.

4. He can be used completely.CodeCreate a vs project, copy the following header files, implementation files, and library files, and you can create a project by yourself:

5. Use vs to create a console project. Remember to add the corresponding link library in the linker input in the project properties:

6. Specify an input PDF file and an output TXT file to execute the generatedProgramFile.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.