EVO PDF Split Library for .NET
==============================

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

You can see the https://www.evopdf.com/evopdf-pdf-split-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.

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

* Split PDF documents from files and streams
* Save extracted documents in memory or to files
* Extract a range of pages from a PDF document
* Split into sections of a specified length

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 evosplitpdf.dll assembly from the Lib/net40 folder of this package or to the EvoPdf.PdfSplit NuGet package.

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

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

Alternatively you can reference the EvoPdfSplit_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.PdfSplit package for .NET Standard 2.0.

After adding a reference to the library to your project, you are ready to start writing code to split PDF documents in your .NET application.
You can copy the C# code lines from the section below to split the PDF into parts of a given size starting from a given page number and save the extracted parts into new PDF files.

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

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

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

To split a PDF document into multiple parts and save the extracted parts to new PDF files, use the C# code below.

	// create the split manager object
	PDFSplitManager splitManager = new PDFSplitManager();
	
	// split the PDF into parts of a given size and save them to new PDF files
	int startPageNumber = 1;
	int partPageCount = 1;
	bool repeatToEnd = true;
	splitManager.ExtractPagesFromFileToFile("my_pdf_file_path", "pdf_part.pdf", 
				startPageNumber, partPageCount, repeatToEnd);

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

The evaluation package for .NET contains the product binaries and demo web 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.
