Aspose.PUB.Cpp 22.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Aspose.PUB.Cpp --version 22.1.0                
NuGet\Install-Package Aspose.PUB.Cpp -Version 22.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aspose.PUB.Cpp" Version="22.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.PUB.Cpp --version 22.1.0                
#r "nuget: Aspose.PUB.Cpp, 22.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.PUB.Cpp as a Cake Addin
#addin nuget:?package=Aspose.PUB.Cpp&version=22.1.0

// Install Aspose.PUB.Cpp as a Cake Tool
#tool nuget:?package=Aspose.PUB.Cpp&version=22.1.0                

Process PUB files via C++ API

Version 22.1 Nuget

banner

Product Page | Docs | API Reference | Examples | Blog | Search | Free Support | Temporary License

Aspose.PUB for C++ is a simple API that allows you to read & convert Microsoft Publisher® (PUB) files to PDF format programmatically in your C++ Apps. It also provides easy-to-understand interfaces to edit the metadata of PUB files.

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 the 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

You can execute the below code snippet to see how Aspose.PDF API performs in your own development environment or check the GitHub Repository for other common usage scenarios.

// Initialize license object
auto license = System::MakeObject<Aspose::Pub::License>();
// Set license
license->SetLicense(dataDir() + u"License\\Aspose.PUB.C++.lic");

System::String filePub = dataDir() + u"1.pub";
System::String filePdf = dataDir() + u"1.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);

System::Console::WriteLine(u"Convert done.");

Limitations

At the moment API lacks the support to convert images of PUB file to PDF file. So such images won't show up in the resultant output PDF file. This feature is in our plan to be released in the future.

Product Page | Docs | API Reference | Examples | Blog | Search | Free Support | Temporary License

Product Compatible and additional computed target framework versions.
native native is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Aspose.PUB.Cpp:

Package Downloads
Aspose.Total.Cpp

Aspose.Total for C++ is a complete package of C++ libraries specifically designed to create, manipulate and convert popular file formats from Microsoft Office and PDF without requiring Office or Adobe Automation. C++ API package also includes a specialized library to generate and recognize barcode labels from images with advanced features to customize the barcode generation and recognition process.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
24.10.0 618 10/29/2024
24.9.0 968 9/23/2024
24.8.0 1,577 8/27/2024
24.7.0 1,139 7/25/2024
24.6.0 1,915 6/23/2024
24.5.0 2,308 5/20/2024
24.4.0 2,817 4/26/2024
24.3.0 3,289 3/31/2024
24.2.0 4,666 2/23/2024
24.1.0 4,306 1/26/2024
23.12.0 6,427 12/22/2023
23.11.0 6,572 11/21/2023
23.10.0 6,428 10/20/2023
23.9.0 7,048 9/21/2023
23.6.0 14,695 6/22/2023
23.5.0 7,134 5/31/2023
23.4.0 7,329 4/21/2023
23.3.0 8,400 3/23/2023
23.2.0 9,153 2/24/2023
23.1.0 8,714 1/26/2023
22.12.0 9,280 12/21/2022
22.11.0 9,339 11/16/2022
22.10.0 4,488 10/31/2022
22.9.0 12,633 9/27/2022
22.8.0 9,050 8/31/2022
22.7.0 10,627 7/24/2022
22.6.0 9,661 6/24/2022
22.5.0 9,050 5/27/2022
22.4.0 9,928 4/28/2022
22.1.0 13,539 1/24/2022
21.12.0 7,665 12/23/2021
21.11.0 17,708 11/23/2021
21.7.1 14,159 9/23/2021
21.7.0 11,587 7/21/2021
21.6.0 8,837 6/22/2021
21.5.0 4,575 5/19/2021
21.4.0 11,121 4/17/2021
21.3.0 8,642 3/18/2021
21.2.0 9,403 2/19/2021
21.1.0 4,074 1/26/2021
20.12.0 13,668 12/25/2020
20.11.0 4,616 11/19/2020
20.9.0 14,017 9/18/2020
20.7.0 14,604 7/17/2020
20.6.1 14,050 6/20/2020