Aspose.PUB   for .NET

.NET APIs to Manipulate Publisher Files

Convert PUB Publisher format to PDF without any software dependencies.

  Download Free Trial
  
 

Aspose.PUB for .NET is flexible and easy to use library to work with electronic publication files. It supports the loading and conversion of popular electronic publication file format (.pub) to PDF.

Advanced .NET PUB Manipulation API Features

Read .pub file formats

Convert PUB files to PDF

Export PUB Files to PDF

Aspose.PUB for .NET can read and convert publication files (.pub) to PDF file , with just a few lines of code.

Convert PUB to PDF - C#

string dataDir = RunExamples.GetDataDir_Data();

string fileName = dataDir + "pubFileName.pub";

var parser = PubFactory.CreateParser(fileName);

var doc = parser.Parse();

PubFactory.CreatePdfConverter().ConvertToPdf(doc, dataDir + "result_out.pdf");
  

Support and Learning Resources

  
  

Aspose.PUB offers individual PUB processing APIs for other popular development environments as listed below: