EVO PDF Merge Library for .NET
==============================

EVO PDF Merge Library for .NET can be used in .NET Framework, .NET Core and .NET Standard applications to merge multiple PDF documents into a single PDF document.

You can see the https://www.evopdf.com/evopdf-pdf-merge-dotnet product page for a complete list of library features.

This package is compatible with .NET Framework, .NET Core and .NET Standard 2.0 on Windows platforms.

For applications that need to run on both Windows and Linux platforms, you can use the EvoPdf.Next package, which allows you to create, edit and merge PDF documents, convert HTML to PDF or images, convert Word, Excel, RTF and Markdown to PDF and convert PDF documents to text or images.

Main Features
=============

* Merge PDF documents from files and streams
* Specify the range of PDF pages to be merged from each PDF document
* Save the merged document in memory or to a file
* Merge PDF bookmarks
* Set the compression level of the resulting PDF document
* Set merged document information (title, author, creation date)
* Password-protect the merged document
* Set merged document rights for printing, copying and assembling

Compatibility
=============

The compatibility list includes the following .NET versions, platforms and application types:

* .NET Framework 4.0 and above
* .NET 10, 9, 8, 7, 6
* .NET Standard 2.0
* Windows platforms
* Azure App Service
* Azure Cloud Services and Azure Virtual Machines
* Web, Console and Desktop applications

Getting Started
===============

You can quickly start with the demo applications from the Samples folder of this package or you can integrate the library into your own project.

Reference the Library in .NET Framework Projects
------------------------------------------------

In your .NET Framework project add a reference to the evopdfmerge.dll assembly from the Lib/net40 folder of this package or to the EvoPdf.PdfMerge NuGet package.

Reference the Library in .NET Core Projects
-------------------------------------------

In your .NET Core project add a reference to the EvoPdf.PdfMerge NuGet package.

Alternatively you can reference the EvoPdfMerge_NetCore.dll library directly from the Lib/netstandard2.0 folder of this package, but in this case you also have to manually reference the dependencies of the EvoPdf.PdfMerge package for .NET Standard 2.0.

After adding a reference to the library to your project, you are ready to start writing code to merge PDF documents in your .NET application.
You can copy the C# code lines from the section below to merge two PDF files and save the merge result to a new PDF file.

C# Code Samples
---------------

At the top of your C# source file add the 'using EvoPdf.PdfMerge;' statement to make available the EVO PDF Merge API for your .NET application.

	// add this using statement at the top of your C# file
	using EvoPdf.PdfMerge;

To merge two PDF files and save the merge result to a new PDF file you can use the C# code below.

	// create the merger object
	PDFMerge pdfMerger = new PDFMerge();
	
	// set the files to merge
	pdfMerger.AppendPDFFile("my_pdf_file_path_1");
	pdfMerger.AppendPDFFile("my_pdf_file_path_2");
	
	// save the merged files to a PDF file
	pdfMerger.SaveMergedPDFToFile("merged_files.pdf");

Free Trial
==========

The evaluation package for .NET contains the product binaries and demo web, desktop and console projects with full C# code for .NET Framework and .NET Core.

You can evaluate the library for free as long as it is needed to ensure that the solution fits your application needs.

Licensing
=========

The EVO PDF Software licenses are perpetual which means they never expire for a version of the product and include free maintenance for the first year. You can find more details about licensing in https://www.evopdf.com/buy page of the website.

Support
=======

For technical and sales questions or for general inquiries about our software and company you can contact us using the email addresses from https://www.evopdf.com/contact page of the website.
