Aspose.PUB for C++ is a simple API that allows to read & convert Microsoft Publisher® (PUB) files to PDF format programmatically in your C++ Apps. It also provides easy to understand interfaces to edit metadata of PUB files.
This repository contains Examples for Aspose.PUB for C++ to help you learn and write your own applications.
| Directory | Description |
|---|---|
| Examples | A collection of C++ examples that help you learn and explore the API features |
Microsoft Publisher: PUB
Fixed Layout: PDF
You can use Aspose.PUB for C++ to build any type of 32-bit and 64-bit C++ applications. You can use it on server and client-side by simply copying the assembly without worrying about other services or modules.
Are you ready to give Aspose.PUB for C++ a try? Simply execute Install-Package Aspose.PUB.Cpp from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.PUB for C++ and want to upgrade the version, please execute Update-Package Aspose.PUB.Cpp to get the latest version.
System::String filePub = dataDir() + u"template.pub";
System::String filePdf = dataDir() + u"output.pdf";
System::Console::WriteLine(u"Convert starting...");
System::SharedPtr<IPubParser> parser = PubFactory::CreateParser(filePub);
System::SharedPtr<Document> document = parser->Parse();
PubFactory::CreatePdfConverter()->ConvertToPdf(document, filePdf);Home | Product Page | Docs | API Reference | Examples | Blog | Search | Free Support | Temporary License