|
|
|
|
|
| EvoPdf Next PDF Processor for .NET
|
| for .NET |
|
|
|
|
EvoPdf Next PDF Processor Library for .NET is a collection of components that you can use to extract text and images from PDF documents, search text in PDF documents and convert PDF pages to images.
The PDF to Text Converter is a component of the EvoPdf Next Library for .NET that enables text extraction from PDF documents in the original layout or optimized for reading, as well as text search in PDF documents that returns the exact positions of the matches.
The PDF to Image Converter is a component of the EvoPdf Next Library for .NET that enables the conversion of PDF pages to PNG images. You can control the color space, resolution and background transparency of the generated images.
The PDF Images Extractor is a component of the EvoPdf Next Library for .NET that enables the extraction of images from PDF files. The extracted images are in PNG format and preserve the transparency information available in the PDF.
|
|
|
|
|
|
|
 |
|
Main Features
|
|
|
-
Convert PDF documents to text in the original layout or optimized for reading
-
Search text in PDF documents and return the exact positions of the matches
-
Convert PDF pages to PNG images with a specified color space
-
Extract images from PDF documents in PNG format preserving transparency
|
|
-
Process password-protected PDF documents
-
Process all PDF pages or a range of PDF pages
-
Asynchronous methods that can be used with async and await
|
|
|
 |
|
Compatibility
|
|
|
-
Windows 10, 11 and Windows Server 2016 to 2025
-
Linux 64-bit distributions
-
.NET 10.0, 9.0, 8.0, 7.0, 6.0, .NET Standard 2.0
-
.NET Framework 4.6.2 to 4.8.1
|
|
-
Azure App Service and Azure Functions
-
Azure Cloud Services and Virtual Machines
-
Web, console and desktop applications
-
Docker containers for Windows and Linux
|
|
|
 |
|
Getting Started
|
|
|
|
You can quickly get started with the ASP.NET demo application available for download, or you can integrate the library into your own project.
The online documentation,
contains detailed instructions on how to run an application using EvoPdf Next Library for .NET on Windows and Linux machines, Azure App Service
and Azure Functions for Windows and Linux.
You can view the current capabilities of the library by checking the
online demo
application and the API reference in the online documentation.
|
|
|
|
Download Demo Application
|
|
|
|
The ZIP package available for download from the link below includes an ASP.NET demo application project with complete C# source code covering all major library features.
|
|
|
|
|
|
Running the samples in the demo application that involve HTML to PDF conversion features on Linux platforms might require installing some dependency packages. The documentation includes an entire section dedicated to building, publishing and running the demo application on multiple platforms.
|
|
 |
|
NuGet Packages
|
|
|
|
For Windows deployments, add a reference to the
EvoPdf.Next.PdfProcessor.Windows
NuGet package.
For Linux deployments, add a reference to the
EvoPdf.Next.PdfProcessor.Linux
NuGet package.
The package for Windows is referenced by the
EvoPdf.Next.Windows
metapackage for all components and the package for Linux is referenced by the
EvoPdf.Next.Linux
metapackage for all components.
There are also multiplatform metapackages that reference both the Windows and Linux packages:
EvoPdf.Next.PdfProcessor
for the PDF Processor functionality and
EvoPdf.Next
for the entire EvoPdf Next library.
|
|
 |
|
Installation
|
|
|
|
The PDF Processor component generally does not require the installation of additional dependencies,
either on Windows or on Linux.
|
|
 |
|
EvoPdf.Next Namespace
|
|
|
|
All components of the EvoPdf Next for .NET library share the same
EvoPdf.Next
namespace and can be used together in the same application.
To use the library in your own code, add the using directive at the top of your C# source file, as shown below.
|
|
// add this using statement at the top of your C# file
using EvoPdf.Next;
|
|
| EvoPdf Next Processor for .NET Components |
|
|
The EvoPdf Library for .NET has a modular structure, with separate NuGet packages for each major component.
The PDF Processor includes the subset of the EvoPdf Library components for converting PDF to text and searching text in PDF,
converting PDF pages to images and for extracting images from PDF.
|
|
|
|
|
|
The PDF to Text Converter is a component of the EvoPdf Next Library for .NET that enables text extraction from PDF documents in
the original layout or optimized for reading, as well as text search in PDF that returns the exact positions of the matches.
|
|
|
|
|
|
|
The PDF to Image Converter is a component of the EvoPdf Next Library for .NET that enables the conversion of PDF pages to PNG
images. You can control the color space, resolution and background transparency of the generated images.
|
|
|
|
|
|
|
The PDF Images Extractor is a component of the EvoPdf Next Library for .NET that enables the extraction of images from PDF files.
The extracted images are in PNG format and preserve the transparency information available in the PDF.
|
|
|
|
|
 |
|
C# Code Sample |
|
|
You can use the sample code below to convert PDF pages to images.
|
|
// Create the PDF to Image converter instance with default options
PdfToImageConverter pdfToImageConverter = new PdfToImageConverter();
// Converts all pages of a PDF file to image objects
PdfPageImage[] pdfPageImages = pdfToImageConverter.ConvertToImages(pdfFilePath);
|
|