Skip to content

aspose-pub/Aspose.PUB-for-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nuget Nuget GitHub

Process PUB files via C++

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

PUB File Processing Features

Read PUB Files

Microsoft Publisher: PUB

Save PUB As

Fixed Layout: PDF

Platform Independence

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.

Get Started with Aspose.PUB for C++

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.

Convert a Microsoft Publisher File to PDF using C# Code

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

About

Aspose.PUB for C++ Examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5