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 7.0, .NET 6.0, .NET 5.0 and also supports .NET Standard 2.1 and .NET Standard 2.0. In short, you can use it for application development in any IDE that targets the .NET platform.
$ dotnet add package Aspose.PUB
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.
Microsoft Publisher: PUB
Fixed Layout: PDF
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.
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.
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");
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");
Product Page | Docs | API Reference | Examples | Blog | Search | Free Support | Temporary License