Aspose.PUB
22.11.0
dotnet add package Aspose.PUB --version 22.11.0
NuGet\Install-Package Aspose.PUB -Version 22.11.0
<PackageReference Include="Aspose.PUB" Version="22.11.0" />
paket add Aspose.PUB --version 22.11.0
#r "nuget: Aspose.PUB, 22.11.0"
// Install Aspose.PUB as a Cake Addin
#addin nuget:?package=Aspose.PUB&version=22.11.0
// Install Aspose.PUB as a Cake Tool
#tool nuget:?package=Aspose.PUB&version=22.11.0
Process PUB files via .NET API
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 Microsoft Publisher (PUB) files for conversion to PDF format.
- Read & write metadata of PUB files via API.
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");
Product Page | Docs | API Reference | Examples | Blog | Search | Free Support | Temporary License
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.1 |
.NET Framework | net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETFramework 4.0
- No dependencies.
-
.NETStandard 2.1
- System.Drawing.Common (>= 5.0.0)
- System.Security.Permissions (>= 5.0.0)
- System.Text.Encoding.CodePages (>= 5.0.0)
-
net5.0
- System.Drawing.Common (>= 5.0.3)
- System.Security.Permissions (>= 5.0.0)
- System.Text.Encoding.CodePages (>= 5.0.0)
-
net6.0
- System.Drawing.Common (>= 5.0.3)
- System.Security.Permissions (>= 5.0.0)
- System.Text.Encoding.CodePages (>= 5.0.0)
NuGet packages (1)
Showing the top 1 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. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
22.11.0 | 11,681 | 11/11/2022 |
22.6.0 | 30,579 | 6/2/2022 |
22.5.0 | 9,459 | 5/6/2022 |
21.9.1 | 32,143 | 9/30/2021 |
21.9.0 | 347 | 9/22/2021 |
21.6.0 | 11,039 | 6/17/2021 |
21.4.0 | 25,197 | 4/23/2021 |
20.4.0 | 36,604 | 4/17/2020 |
20.2.0 | 3,168 | 2/14/2020 |
19.12.0 | 2,284 | 12/26/2019 |
19.10.1 | 1,857 | 10/31/2019 |
19.10.0 | 478 | 10/30/2019 |