PUB to PDF | C++

This article shows how to convert PUB files to PDF in C++. It can be used to write C++ converter applications for PUB to PDF. Large Content Management Systems (CMS) convert editable files into read-only PDF documents using bulk operations that makes utilization of such convert applications.

PUB to PDF in C++

Aspose.PUB for C++ lets you convert PUB to PDF in your C++ applications. PDF is a platform-independent document format, introduced by Adobe Acrobat, and can be opened on almost all computers without the need for Microsoft Publisher being installed. 

 The following steps and code snippet show how to convert PUB to PDF using C++.

  1. Create a C++ console project
  2. Load the .pub file using PubFactory class
  3. Convert .pub to .pdf using the ConvertToPdf method of ipdfConverter interface