MS Publisher is a program to create documents that are focused to work with page layout information. The program opens the next file formats MS Publisher 2.0 or later, files with a .txt extension, RTF files, MS Word files, HTML files, Unicode text, and many more. This software allows creating your own designed documents or using the the-formated designs for your document. MS Publisher saves files with .pub extension and not that many applications apart from Publisher can process such files.
Aspose.PUB for C++ is a Microsoft PUb formats processing library. It allows developers to read and load PUB files, manipulate metadata as well as convert electronic publication file format (.pub) to PDF. It offers quick and reliable conversion of PUB to PDF, HTML, XLSX, DOC, and the most popular image formats. The functionality is also implemented in free cross-platform applications so you can try it yourself right now.
At a Glance
An overview of Aspose.PUB for C++ API.
- PUB File Loading
- Modify Metadata
- PDF Conversion
The library fully supports C++ applications developed on the Windows and Linux platform having system requirements.
Supported File Formats
Aspose.PUB for C++ supports Publisher file format.
- Publisher: PUB
Advanced C++ PUB Manipulation API Features
Read .pub file formats
Convert PUB documents to PDF
Convert PUB Files to PDF
Aspose.PUB for C++ library can read and convert publication documents (.pub) to PDF format, with just a few lines of code.
Convert PUB to PDF - C++
System::String SourcPubFile = dataDir() + u"1.pub"; System::String filePdf = dataDir() + u"result_out.pdf"; System::SharedPtr parser = PubFactory::CreateParser(SourcPubFile); System::SharedPtr document = parser->Parse(); PubFactory::CreatePdfConverter()->ConvertToPdf(document, filePdf);