Aspose.PUB 21.6.0

Aspose.PUB for .NET is a collection of class libraries that facilitate your .NET Apps in interacting with Microsoft Publisher file formats, without the need to install Microsoft Publisher®. Your C#, VB.NET, and ASP.NET applications would be able to load the electronic publication files, parse them as well as convert from PUB to PDF format.

Aspose.PUB for .NET can be run on the 32-bit and 64-bit editions of Windows Desktop and Server. It also supports Windows Azure. Aspose.PUB for .NET is in compliance with the .NET 5.0 and also supports .NET Standard 2.1 and .NET Framework 4.0. In short, you can use it for application development in any IDE that targets the .NET platform.

Install-Package Aspose.PUB -Version 21.6.0
dotnet add package Aspose.PUB --version 21.6.0
<PackageReference Include="Aspose.PUB" Version="21.6.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.PUB --version 21.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Aspose.PUB, 21.6.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.PUB as a Cake Addin
#addin nuget:?package=Aspose.PUB&version=21.6.0

// Install Aspose.PUB as a Cake Tool
#tool nuget:?package=Aspose.PUB&version=21.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Process PUB files via .NET API

Version 21.6 Nuget

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

Aspose.PUB for .NET is a simple API that allows you to read & convert Microsoft Publisher® (PUB) files to PDF format. 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 .NET to develop applications in any development environment that targets the .NET platform including .NET Framework, .NET Core & Mono to develop both 32-bit & 64-bit applications.

Get Started with Aspose.PUB for .NET

Are you ready to give Aspose.PUB for .NET a try? Simply execute Install-Package Aspose.PUB from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.PUB for .NET and want to upgrade the version, please execute Update-Package Aspose.PUB 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.

var parser = PubFactory.CreateParser(dir + "template.pub");
var doc = parser.Parse();
PubFactory.CreatePdfConvertor().ConvertToPdf(doc, dir + "output.pdf");

Edit Metadata of Microsoft Publisher Files

IPubParser parser = PubFactory.CreateParser(dir + "template.pub");
Document document = parser.Parse();

document.DocumentSummaryInfo.SetCategory("category");
document.DocumentSummaryInfo.SetCompany("company");
document.DocumentSummaryInfo.SetLanguage("language");

document.SummaryInfo.SetComments("comments");
document.SummaryInfo.SetKeywords("keywords");
document.SummaryInfo.SetLastAuthor("last author");
document.SummaryInfo.SetTitle("title");
document.SummaryInfo.SetSubject("subject");

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 with a future release.

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

Process PUB files via .NET API

Version 21.6 Nuget

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

Aspose.PUB for .NET is a simple API that allows you to read & convert Microsoft Publisher® (PUB) files to PDF format. 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 .NET to develop applications in any development environment that targets the .NET platform including .NET Framework, .NET Core & Mono to develop both 32-bit & 64-bit applications.

Get Started with Aspose.PUB for .NET

Are you ready to give Aspose.PUB for .NET a try? Simply execute Install-Package Aspose.PUB from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.PUB for .NET and want to upgrade the version, please execute Update-Package Aspose.PUB 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.

var parser = PubFactory.CreateParser(dir + "template.pub");
var doc = parser.Parse();
PubFactory.CreatePdfConvertor().ConvertToPdf(doc, dir + "output.pdf");

Edit Metadata of Microsoft Publisher Files

IPubParser parser = PubFactory.CreateParser(dir + "template.pub");
Document document = parser.Parse();

document.DocumentSummaryInfo.SetCategory("category");
document.DocumentSummaryInfo.SetCompany("company");
document.DocumentSummaryInfo.SetLanguage("language");

document.SummaryInfo.SetComments("comments");
document.SummaryInfo.SetKeywords("keywords");
document.SummaryInfo.SetLastAuthor("last author");
document.SummaryInfo.SetTitle("title");
document.SummaryInfo.SetSubject("subject");

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 with a future release.

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

Release Notes

https://docs.aspose.com/pub/net/aspose-pub-for-net-21-6-release-notes/

NuGet packages (2)

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

Package Downloads
Aspose.Total
Aspose.Total for .NET is the most complete package of all .NET file format APIs offered by Aspose. It empowers developers to create, edit, render, print and convert between a wide range of popular document formats within any .NET, C#, ASP.NET and VB.NET applications.
Conholdate.Total
Conholdate.Total for .NET is a complete package to work with a large number of file formats from Microsoft Word, Excel, PowerPoint, Outlook, Project, Visio, Adobe Acrobat, Illustrator, Photoshop, AutoCAD, OpenOffice and many more. Conholdate.Total for .NET allows you to use any API released under Aspose and GroupDocs for .NET in order to create, convert, read, edit, update and print popular document formats. Moreover, you may view, annotate, watermark, assemble, classify, search, redact, parse, merge and compare documents without needing to install the native applications. It helps you in file format manipulation and document automation via simple API. Conholdate.Total for .NET also includes specialized APIs to read and create barcodes, extract text from images using OCR as well as extract human marked data from questioners, surveys, quizzes, MCQ papers and feedback forms.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
21.6.0 1,102 6/17/2021
21.4.0 13,668 4/23/2021
20.4.0 9,820 4/17/2020
20.2.0 1,632 2/14/2020
19.12.0 1,209 12/26/2019
19.10.1 872 10/31/2019
19.10.0 222 10/30/2019