Merge Combine EPS C#

An EPS file is a vector graphic stored in an Encapsulated PostScript Format. They can contain text, graphics, or other visual content. Its scalability feature makes it a preferred choice of graphic designers to save banners, billboards, and other large print jobs. However, sometimes you may need to merge multiple EPS files. This article covers how to merge or combine EPS files programmatically in C#.

Combine or Merge EPS files – C# API Installation

Aspose.Page for .NET API can be used to work with different Page Description Language formats including EPS. You can quickly configure it by downloading the reference files from the Downloads page or using the NuGet installation command below:

PM> Install-Package Aspose.Page

Merge EPS files Programmatically in C#

You can easily merge different EPS files with the following steps:

  1. Load the input EPS file to combine other EPS documents.
  2. Initialize PdfSaveOptions and PsDocument class object.
  3. Load the input files for merging.
  4. Combine the EPS files and write the rendered file in PDF format.

The code snippet below demonstrates how to merge EPS files programmatically in C#:

Merge EPS files with Advanced Options in C#

You can set various options while merging different EPS files. For example, the quality of the images, suppression of errors, etc. Please follow the steps below for merging different EPS files with advanced options in C#:

  1. Load the input EPS file for combining other files with it.
  2. Set different properties exposed by the PdfSaveOptions class.
  3. Merge the source EPS files and write the output file.

The code snippet below explains how to merge EPS files in C#:

Get Free Temporary License

You may request a free temporary license to evaluate the API in its full capacity.


In this article, you have learned how to merge different EPS files programmatically in C#. Moreover, several other features of the API are covered under the documentation section in different chapters. Please feel free to reach out to us at the forum if you want to discuss any of your queries.

See Also

Convert EPS or PS PostScript File to a DOCX or DOC Word Document in C#