Aspose.PUB 20.2.0

Aspose.PUB for .NET is a PUB document conversion component that enables your .NET applications to convert existing PUB documents.

There is a newer version of this package available.
See the version list below for details.
Install-Package Aspose.PUB -Version 20.2.0
dotnet add package Aspose.PUB --version 20.2.0
<PackageReference Include="Aspose.PUB" Version="20.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.PUB --version 20.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Process PUB files via .NET API

Aspose.PUB for .NET is a simple API that allows to read & convert Microsoft Publisher® (PUB) files to PDF format. It also provides easy to understand interfaces to edit metadata of PUB files.

PUB File Processing Features

New Features in Version 20.2.0

Enhancements in Version 20.2.0

For the detailed notes, please visit Aspose.PUB for .NET 20.2 Release Notes.

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.

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

Following C# code sample shows how to edit the metadata of a Microsoft Publisher file:

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 wont show up in the resultant output PDF file. This feature is in our plan to be released with future release.

Product Page | Documentation | API Reference | Code Examples | Blog | Free Support | Temporary License

Process PUB files via .NET API

Aspose.PUB for .NET is a simple API that allows to read & convert Microsoft Publisher® (PUB) files to PDF format. It also provides easy to understand interfaces to edit metadata of PUB files.

PUB File Processing Features

New Features in Version 20.2.0

Enhancements in Version 20.2.0

For the detailed notes, please visit Aspose.PUB for .NET 20.2 Release Notes.

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.

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

Following C# code sample shows how to edit the metadata of a Microsoft Publisher file:

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 wont show up in the resultant output PDF file. This feature is in our plan to be released with future release.

Product Page | Documentation | API Reference | Code Examples | Blog | Free Support | Temporary License

Release Notes

https://docs.aspose.com/display/pubnet/Aspose.PUB+for+.NET+20.2+Release+Notes

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
20.4.0 309 4/17/2020
20.2.0 891 2/14/2020
19.12.0 665 12/26/2019
19.10.1 468 10/31/2019
19.10.0 86 10/30/2019