EvoPdf.PdfToText.NetCore 10.0.0

Prefix Reserved
dotnet add package EvoPdf.PdfToText.NetCore --version 10.0.0                
NuGet\Install-Package EvoPdf.PdfToText.NetCore -Version 10.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EvoPdf.PdfToText.NetCore" Version="10.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EvoPdf.PdfToText.NetCore --version 10.0.0                
#r "nuget: EvoPdf.PdfToText.NetCore, 10.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install EvoPdf.PdfToText.NetCore as a Cake Addin
#addin nuget:?package=EvoPdf.PdfToText.NetCore&version=10.0.0

// Install EvoPdf.PdfToText.NetCore as a Cake Tool
#tool nuget:?package=EvoPdf.PdfToText.NetCore&version=10.0.0                

EVO PDF to Text Library for .NET Core

EVO PDF Logo Image

PDF to Text for .NET Core | HTML to PDF for .NET Core | Free Trial | Licensing | Support

EVO PDF to Text Library for .NET Core can be easily integrated your applications targeting .NET Core or .NET Standard to extract the text from PDF documents and to search text in PDF documents.

This version of the library is compatible with .NET Core and .NET Standard on Windows 32-bit (x86) and 64-bit (x64) platforms.

For applications targeting .NET Framework on Windows you can use the library from EvoPdf.PdfToText NuGet package.

In any .NET application for Linux, macOS, Windows, Azure App Service, Xamarin, UWP and other platforms you can use the cross-platform library from EvoPdf.Client NuGet package.

Main Features

  • Extract text from PDF documents
  • Search text in PDF documents
  • Save the extracted text using various text encodings
  • Case sensitive and whole word options for text search
  • Support for password protected PDF documents
  • Extract the text or search only a range of PDF pages
  • Extract text preserving the original PDF layout
  • Extract text in PDF reading order or PDF internal order
  • Get the number of pages in a PDF document
  • Get the PDF document title, keywords, author and description
  • Does not require Adobe Reader or other third party tools

Compatibility

EVO PDF to Text Library for .NET Core is compatible with Windows platforms which support .NET Standard 2.0 or above, including the platforms listed below:

  • .NET Core 7, 6, 5, .NET Standard 2.0 , .NET Framework 4.6.2 (and above)
  • Windows 32-bit (x86) and 64-bit (x64)
  • Azure App Service, Azure Cloud Services and Azure Virtual Machines
  • Web, Console and Desktop applications

Getting Started

After the reference to library was added to your project you are now ready to start writing code to convert PDF to Text in your .NET application. You can copy the C# code lines from the section below to extract the text from a PDF document to a .NET string and to search a text in a PDF document and get all its locations in PDF pages.

C# Code Samples

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

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

To extract all the text from a PDF file to a .NET String and save the extracted text to file you can use the C# code below.

// create the converter object in your code where you want to run conversion
PdfToTextConverter converter = new PdfToTextConverter();

// extract the text from PDF
string extractedText = converter.ConvertToText("my_pdf_file_path");

// write the .NET string to a text file
System.IO.File.WriteAllText("PdfToText.txt", extractedText, System.Text.Encoding.UTF8);

To search a text in a PDF file and retrieve all its locations in PDF pages you can use the C# code below.

// create the converter object in your code where you want to run conversion
PdfToTextConverter converter = new PdfToTextConverter();

// search text with case sensitive and whole world options
string textToFind = "PDF";
bool caseSensitive = false;
bool wholeWord = false;
FindTextLocation[] locations = converter.FindText("my_pdf_file_path", textToFind, caseSensitive, wholeWord);

// use the found text locations
foreach (FindTextLocation location in locations)
{
    float textXPos = location.X; 
    float textYPos = location.Y;;
    float textWidth = location.Width;
    float textHeight = location.Height;
}

Free Trial

You can download the full PDF to Text Converter for .NET Core package from EVO PDF Downloads page of the website.

The package for .NET Core contains the product binaries, a demo Visual Studio project with full C# code for ASP.NET Core targeting .NET Core 6.0 and later versions, the library documentation in CHM format.

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 on 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 the contact page of the website.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
10.0.0 2,411 8/14/2023