Convert EPS to PDF using .NET API

Overview

This article explains how to convert EPS to PDF using C#. It covers the following topics.

Also See

C# EPS to PDF Conversion

You can check the quality of Aspose.Page EPS to PDF conversion and view the results via free online EPS to PDF Converter

Aspose.Page for .NET EPS to PDF converter allows to convert Encapsulated PostScript (EPS) file to PDF document with using of any language supported by .Net platform: C#, VB, J#.

Steps: EPS to PDF Converter API Code in C#

It is necessary to do several steps in order to perform EPS to PDF conversion:

  1. Initialize an input stream for input EPS file.
  2. Initialize an output stream for output PDF document.
  3. Create an instance of PsDocument from created earlier input stream.
  4. Use PdfSaveOptions to specify AdditionalFontsFolder and SuppressError boolean value.
  5. Create an instance of PdfDevice from created earlier output stream.
  6. Save PostScript document as PDF with PDF save options.
  7. If SuppressErrors value was true, as it is by default, It is possible to see what errors were thrown during conversion of EPS to PDF and saved in Exceptions list.

Following C# code snippet shows how to convert EPS to PDF document in C#:

                
            

See EPS to PDF conversion in Java and C++.

Let’s consider PdfSaveOptions. Using this class we can assign different conversion parameters while converting EPS to PDF.

Evaluate EPS to PDF conversion online on our EPS to PDF Converter. You can convert several EPS files to PDF at once and dowload results in a few seconds.

You can download examples and data files from GitHub.

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.