Skip to content


Folders and files

Last commit message
Last commit date

Latest commit



16 Commits

Repository files navigation

Nuget Nuget GitHub

Process Microsoft Publisher files via .NET

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.

This repository contains Examples project for Aspose.PUB for .NET to help you learn and write your own applications.

Directory Description
Examples A collection of .NET examples that help you learn the product features

PUB File Processing

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

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

Edit Metadata of Microsoft Publisher Files

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


document.SummaryInfo.SetLastAuthor("last author");

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