Using Pdflib to generate PDF documents

Source: Internet
Author: User
Tags pdflib knowledge base adobe acrobat reader

PDF document effect Map generated by this code

A, PDF introduction

PDF is the abbreviation of Portable Document format, the PDF file format is an international common electronic document exchange fact standard, which is adopted as electronic document exchange in many countries. PDF files can be read, edited, and published under a variety of platforms. This file format supports the embedding of fonts, images, and even any attachments. You can read and edit PDF documents with free Adobe Acrobat reader.

Ii. introduction of Pdflib

Pdflib is a development library for creating PDF documents that provides an Easy-to-use API that hides the complex details of creating PDFs without the need for 3rd party software support. Pdflib Library for the individual is free, for commercial products need to purchase licenses, you can go to the VC Knowledge Base Tools and resources to download: http://www.vckbase.com/tools/.

Third, the use of Pdflib in VC + +

The pdflib used in this article is version 4.0.2, similar to the 5.0 version. 5.0 free version has a WWW.PDFLIB.COM watermark, 4.0 is not.

3.1 Preliminary preparation

After the project is established, copy the Except.cpp,except.h,pdflib.cpp,pdflib.h,pdflib.dll,pdflib.lib to the engineering directory.

3.2 Code

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.