ExpertPdf PDF Creator for .NET |
ExpertPdf PDF Creator for .NET creates PDF documents from scratch and changes existing ones. You add pages and place content on them - text with any font, images, lines and shapes, HTML (rendered with the Chromium, Blink or WebKit engine), RTF - then add bookmarks, links, attachments and templates repeated on every page, and save the document as PDF, PDF/A, tagged PDF or a ZUGFeRD / Factur-X invoice, secured or digitally signed.
It is a library (epdfcreator.dll) you reference from any .NET Framework, .NET Core or .NET 5 - .NET 11 application: ASP.NET Core, ASP.NET Web Forms and MVC, Windows Forms, WPF, console applications and services. Nothing has to be installed on the server and no printer driver is used. PDF Creator includes the complete ExpertPdf HTML to PDF Converter.
using ExpertPdf.PdfCreator; LicensingManager.LicenseKey = "your license key"; Document document = new Document(); document.DocumentInformation.Title = "Hello"; PdfPage page = document.AddPage(); PdfFont font = document.AddFont(new System.Drawing.Font("Arial", 16), true); page.AddElement(new TextElement(0, 0, "Hello from ExpertPdf PDF Creator", font)); // HTML content below the text HtmlToPdfElement html = new HtmlToPdfElement(0, 40, "<p>Text, <b>styles</b> and images from <i>HTML</i></p>", null); page.AddElement(html); document.Save("hello.pdf"); document.Close();
See Document class, page elements and the samples for more.
The Chromium rendering engine (Chromium 154) for HTML content; the Blink engine updated to Chromium 148. See HTML to PDF element.
Tagged, accessible PDF and PDF/UA. See Tagged PDF and accessibility.
PDF/A-2b, PDF/A-3b, PDF/A-3u and PDF/A-3a, and associated files. See Document class.
ZUGFeRD / Factur-X electronic invoices. See Electronic invoices.
New HTML conversion options: HttpPostParameters, SecureProtocol, RenderElementSelector, WindowStatus, EnableOfflineMode, WebGlEnabled, AllowContentHeightResize.
With Chromium, an HTML element continues on the next pages and ends where its content ends (ManagedContentTrimming); MaxConversionTime limits the conversion time with every engine. See HTML to PDF element.
HTML elements mapping with the Chromium and Blink engines.
Table of contents with page numbers and links, page labels (i, ii, iii, A-1...) and named destinations. See Document class.
Version 22.0 adds members without changing the existing ones, so code written for earlier versions keeps working. It needs a version 22 license key.