EvoPdf Next · Core PDF API

Create, edit, merge and secure PDF documents from C#

The Core PDF API is the component of the EvoPdf Next Library for .NET for programmatically creating, manipulating and securing PDF documents. Create PDFs by adding text, images and other graphical elements, then apply encryption, permissions, digital signatures, custom headers, footers and stamps. The library targets .NET Standard 2.0 and runs on Windows, Linux and macOS, including Azure App Service, Azure Functions and Docker.

Version 15.0.3. Building EVO PDF libraries since 2010. Evaluate without registration; the demo output is watermarked until you set a license key. Licensed with the HTML to PDF Converter license or the EVO PDF Toolkit.

Documentation · Samples and demos on GitHub · AI agent skills

ConsoleCLI
dotnet add package EvoPdf.Next.Core.Windows

This is the Windows package; EvoPdf.Next.Core.Linux and EvoPdf.Next.Core.MacOS work the same way, or use the all-components EvoPdf.Next.* metapackage for your platform.

Program.csC#
using EvoPdf.Next;

var settings = new PdfDocumentCreateSettings {
    PageSize = PdfPageSize.A4,
    Margins = new PdfMargins(36, 36, 36, 36) };
using var pdf = new PdfDocument(settings);

var font = PdfFontManager.CreateStandardFont(
    PdfStandardFont.Helvetica, 16f,
    PdfFontStyle.Bold, PdfColor.Black);
pdf.AddText(new PdfTextElement("Hello", font));

pdf.SaveToFile("created.pdf");
Create a PDF from scratch. Full sample in the docs →
  • Windows 10, 11 and Windows Server 2016 to 2025 (x64 and ARM64)
  • Linux 64-bit distributions (x64 and ARM64)
  • macOS 12.0+ (Apple Silicon / ARM64)
  • .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, Functions and Container Apps
  • AWS Elastic Beanstalk, Lambda and ECS
  • Google Cloud Run and Kubernetes
  • Web, console and desktop applications
Features

What the Core PDF API component does

  • Create, edit and merge PDF documents
  • Generate PDF documents by adding text, images, shapes, paths and gradient fills
  • Add Word, Excel, RTF and Markdown documents and pages of other PDF documents to the pages
  • Add, insert, move, rotate and remove the pages of existing PDF documents
  • Read and edit bookmarks, set the open action and attach files
  • Encrypt, set permissions and passwords for the PDF documents
  • Control the PDF document display with PDF viewer preferences
  • Create PDF documents with digital signatures and sign existing PDF documents
  • Add empty signature fields for the signers of a document, in new or existing PDF documents
  • Edit PDF documents by applying stamps, headers and footers
  • Add HTML content to new and existing PDF documents, with a table of contents built from its headings
  • Fill, flatten and edit PDF forms and create form fields from code
  • Redact text, personal data, areas and pages, removing the content from the file
  • Split PDF documents and remove page ranges
  • Asynchronous methods that can be used with async and await
  • Docker containers for Windows and Linux

NuGet packages

Reference EvoPdf.Next.Core.Windows or .Linux, each for x64 and ARM64, .MacOS for Apple Silicon, the multi-platform EvoPdf.Next.Core, or the EvoPdf.Next.* metapackage for your platform, which includes every component.

ConsoleCLI
dotnet add package EvoPdf.Next.Core.Windows

On nuget.org: EvoPdf.Next.Core.Windows · .Linux · .MacOS · multi-platform EvoPdf.Next.Core

Create PDF documentsDemoDocs + code
Shapes, paths and polygonsDemoDocs + code
PDF/UA and PDF/A standardsDemoDocs + code
Digital signaturesDemoDocs + code
Sign existing PDF documentsDemoDocs + code
Signature fields for several signersDemoDocs + code
Security and permissionsDemoDocs + code
Add HTML stamp to existing PDFDemoDocs + code
Gradient fillsDemoDocs + code
Add, insert, move and rotate pagesDemoDocs + code
Word documents in PDF documentsDemoDocs + code
Excel workbooks in PDF documentsDemoDocs + code
RTF documents in PDF documentsDemoDocs + code
Markdown content in PDF documentsDemoDocs + code
HTML content in PDF documentsDemoDocs + code
Pages of other PDF documentsDemoDocs + code
Add text to existing PDFDemoDocs + code
Add HTML to existing PDFDemoDocs + code
Fill and flatten PDF formsDemoDocs + code
PDF forms from codeDemoDocs + code
Merge PDF documentsDemoDocs + code
Split PDF documentsDemoDocs + code
Redact text and personal dataDemoDocs + code
Redact areas and pagesDemoDocs + code
Apply redaction annotationsDemoDocs + code
Licensing

Covered by the HTML to PDF and Toolkit licenses

The Core PDF API is covered by the HTML to PDF Converter license (450 USD Deployment, 1200 USD Company) and by the EVO PDF Toolkit, which covers every component on this site, Next and Classic: 650 USD for a Deployment License (one application on a single server) or 1400 USD for a Company License (unlimited developers, applications and servers, redistributable). Perpetual, with updates and support for the first year.