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
- Merge EPS files Programmatically in C#
- Merge EPS files using Advanced Options 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:
- Load the input EPS file to combine other EPS documents.
- Initialize PdfSaveOptions and PsDocument class object.
- Load the input files for merging.
- 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#:
- Load the input EPS file for combining other files with it.
- Set different properties exposed by the PdfSaveOptions class.
- 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.