PUB to PDF | .NET

Contents
[ ]

Aspose.PUB for .NET can read and convert publication files (.pub) to PDF. TheĀ PubFactory class creates content from a .pub file for further processing by the Document class of the API.

PUB to PDF Conversion using C#

Portable Document Format (PDF) was introduced by Adobe to represent documents that can be read on digital devices. PUB files require Microsoft Publisher to be installed on the computer in order to open these files. Aspose.PUB for .NET lets you convert PUB files to PDF that can be opened on almost all computers without the need for Microsoft Publisher being installed. The following steps and code snippet show how to convert PUB to PDF using C# in your .NET applications.

  1. Create a C# console or WinForms project
  2. Load the .pub file using PubFactory class
  3. Convert .pub to .pdf using the ConvertToPdf method of ipdfConverter interface