ExpertPdf.HtmlToPdf.NetCore
22.0.0
Prefix Reserved
dotnet add package ExpertPdf.HtmlToPdf.NetCore --version 22.0.0
NuGet\Install-Package ExpertPdf.HtmlToPdf.NetCore -Version 22.0.0
<PackageReference Include="ExpertPdf.HtmlToPdf.NetCore" Version="22.0.0" />
<PackageVersion Include="ExpertPdf.HtmlToPdf.NetCore" Version="22.0.0" />
<PackageReference Include="ExpertPdf.HtmlToPdf.NetCore" />
paket add ExpertPdf.HtmlToPdf.NetCore --version 22.0.0
#r "nuget: ExpertPdf.HtmlToPdf.NetCore, 22.0.0"
#:package ExpertPdf.HtmlToPdf.NetCore@22.0.0
#addin nuget:?package=ExpertPdf.HtmlToPdf.NetCore&version=22.0.0
#tool nuget:?package=ExpertPdf.HtmlToPdf.NetCore&version=22.0.0
ExpertPdf HTML to PDF Converter for .NET Core and .NET Framework
ExpertPdf HTML to PDF Converter is a .NET library that converts web pages, HTML strings and HTML files to PDF documents and images. It renders the HTML like a browser, with a choice of rendering engines, and gives you full control over the PDF: page settings, headers and footers, bookmarks, links, security, PDF/A, tagged PDF and electronic invoices.
This package contains the library for .NET Framework 4.6.1 to 4.8.1, .NET Core 2.0+ and .NET 5 to .NET 11 (through .NET Standard 2.0). It is the build for x86 and AnyCPU applications; for 64-bit applications use ExpertPdf.HtmlToPdf.NetCore.x64.
Features
- Convert web pages (URLs), HTML strings and HTML files to PDF documents, and to images
- Three rendering engines: WebKit (built in), Blink and Chromium (separate engine packages) with full support for HTML5, CSS3, web fonts and modern JavaScript
- Page size, orientation, margins, fit width, page breaks control (CSS page-break, keep together), repeated table headers
- Headers and footers with HTML content and page numbering
- Automatic bookmarks, table of contents, live internal and external links
- Tagged (accessible) PDF / PDF/UA, PDF/A-1b, PDF/A-2b, PDF/A-3b, PDF/A-3u, PDF/A-3a and PDF/X-1a
- ZUGFeRD 2.x / Factur-X electronic invoices and associated files (PDF/A-3)
- Security: user and owner passwords, print / copy / edit permissions, 40, 128 and 256 bit encryption; digital signatures
- Authentication, cookies, HTTP headers and POST data; select or exclude page elements; JavaScript delay and conversion triggered from JavaScript
- Add text, images, shapes and more HTML to the generated PDF; merge with existing PDF documents
- Thread safe: convert in parallel in web applications and services
Requirements
- .NET Framework 4.6.1 to 4.8.1, .NET Core 2.0+ and .NET 5 to .NET 11 (through .NET Standard 2.0).
- Windows 10, Windows 11, Windows Server 2016 or later (32-bit or 64-bit).
Rendering engines
- WebKit - built in, the default engine.
- Blink (Chromium 148) - install ExpertPdf.HtmlToPdf.NetCore.Blink; .NET Framework 4.6.1+ and .NET Core / .NET 5+.
- Chromium (Chromium 154) - install ExpertPdf.HtmlToPdf.NetCore.Chromium.Windows; Windows; runs in its own process.
Getting started
using ExpertPdf.HtmlToPdf;
PdfConverter pdfConverter = new PdfConverter();
// pdfConverter.LicenseKey = "your license key";
pdfConverter.PdfDocumentOptions.PdfPageSize = PdfPageSize.A4;
pdfConverter.SavePdfFromUrlToFile("https://www.html-to-pdf.net", "output.pdf");
What's new in version 22.0
- New Chromium rendering engine (Chromium 154), running out of process: the ExpertPdf.HtmlToPdf.NetCore.Chromium.Windows and ExpertPdf.HtmlToPdf.Chromium.Windows packages; RenderingEngine.Chromium
- Blink rendering engine updated to Chromium 148, with more robust launching under load (BlinkEngineLaunchTimeout, BlinkEngineLaunchMaxTries, BlinkMaxThreadPoolWorkers)
- Tagged (accessible) PDF and PDF/UA-1: PdfConverter.Tagged and Language, PdfTagType, alternate and actual text, artifacts
- PDF/A-2b, PDF/A-3b, PDF/A-3u and PDF/A-3a (PdfStandardSubset); associated files (Document.AddAssociatedFile)
- ZUGFeRD 2.x / Factur-X electronic invoices: Document.AddZugferdInvoice (Minimum to Extended and XRechnung profiles)
- New options: HttpPostParameters, SecureProtocol, RenderElementSelector, PageRanges, WindowStatus, EnableOfflineMode, WebGlEnabled, AllowContentHeightResize
- Bookmarks, internal links and HTML elements mapping on the Blink and Chromium engines
- ManagedContentTrimming: with the Chromium engine the last page ends where the content ends
- MaxConversionTime: a time limit for one conversion, on every engine
- Asynchronous methods with cancellation: GetPdfBytesFromUrlAsync, SavePdfFromUrlToFileAsync and more
- Table of contents with page numbers and links (Document.InsertTableOfContents), page labels and named destinations
Licensing
A license key is emailed to you when you purchase the product. Set it in your code before you use the library:
pdfConverter.LicenseKey = "your license key";
Without a license key the library runs in evaluation mode.
Documentation and support
Documentation, samples and the API reference: https://www.html-to-pdf.net/Support.aspx
For any problems, contact us: office@html-to-pdf.net
| Product | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. 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. |
-
.NETFramework 4.6.1
- Microsoft.Bcl.AsyncInterfaces (>= 10.0.3)
- Microsoft.Extensions.Logging (>= 10.0.0)
- Microsoft.IO.RecyclableMemoryStream (>= 3.0.1)
- Newtonsoft.Json (>= 13.0.3)
- System.Buffers (>= 4.6.1)
- System.Text.Json (>= 10.0.3)
-
.NETFramework 4.7.2
- Microsoft.Bcl.AsyncInterfaces (>= 10.0.3)
- Microsoft.Extensions.Logging (>= 10.0.0)
- Microsoft.IO.RecyclableMemoryStream (>= 3.0.1)
- Newtonsoft.Json (>= 13.0.3)
- System.Buffers (>= 4.6.1)
- System.Text.Json (>= 10.0.3)
-
.NETStandard 2.0
- Microsoft.Bcl.AsyncInterfaces (>= 10.0.3)
- Microsoft.Extensions.Logging (>= 10.0.0)
- Microsoft.IO.RecyclableMemoryStream (>= 3.0.1)
- Newtonsoft.Json (>= 13.0.3)
- System.Buffers (>= 4.6.1)
- System.Drawing.Common (>= 4.7.3)
- System.Security.Principal.Windows (>= 4.5.1)
- System.Text.Encoding.CodePages (>= 4.5.1)
- System.Text.Json (>= 10.0.3)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on ExpertPdf.HtmlToPdf.NetCore:
| Package | Downloads |
|---|---|
|
ExpertPdf.HtmlToPdf.NetCore.Blink
ExpertPdf HTML to PDF Converter is a .NET library that converts web pages, HTML strings and HTML files to PDF documents and images. It renders the HTML like a browser, with a choice of rendering engines, and gives you full control over the PDF: page settings, headers and footers, bookmarks, links, security, PDF/A, tagged PDF and electronic invoices. This package adds the Blink rendering engine (Chromium 148) for x86 and AnyCPU applications to the ExpertPdf.HtmlToPdf.NetCore package. Its files are copied next to your application when it builds. Select the engine with RenderingEngine = RenderingEngine.Blink. Rendering engines - WebKit - built in, the default engine. - Blink (Chromium 148) - install ExpertPdf.HtmlToPdf.NetCore.Blink; .NET Framework 4.6.1+ and .NET Core / .NET 5+. - Chromium (Chromium 154) - install ExpertPdf.HtmlToPdf.NetCore.Chromium.Windows; Windows; runs in its own process. |
|
|
ExpertPdf.HtmlToPdf.NetCore.Chromium.Windows
ExpertPdf HTML to PDF Converter is a .NET library that converts web pages, HTML strings and HTML files to PDF documents and images. It renders the HTML like a browser, with a choice of rendering engines, and gives you full control over the PDF: page settings, headers and footers, bookmarks, links, security, PDF/A, tagged PDF and electronic invoices. This package adds the Chromium rendering engine (Chromium 154, Windows) for x86 and AnyCPU applications to the ExpertPdf.HtmlToPdf.NetCore package. The engine runs in its own process; its files are copied next to your application when it builds. Select it with RenderingEngine = RenderingEngine.Chromium. Rendering engines - WebKit - built in, the default engine. - Blink (Chromium 148) - install ExpertPdf.HtmlToPdf.NetCore.Blink; .NET Framework 4.6.1+ and .NET Core / .NET 5+. - Chromium (Chromium 154) - install ExpertPdf.HtmlToPdf.NetCore.Chromium.Windows; Windows; runs in its own process. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 22.0.0 | 111 | 11/20/2026 |
| 21.1.0 | 11,795 | 5/12/2026 |
| 20.1.0 | 48,736 | 4/8/2025 |
| 19.0.0 | 93,724 | 5/27/2024 |
| 18.1.0 | 174,406 | 12/4/2023 |
| 18.1.0-rc1 | 1,008 | 9/21/2023 |
| 18.0.0 | 108,821 | 3/30/2023 |
| 17.0.0 | 215,822 | 4/6/2022 |
| 16.1.0 | 71,581 | 10/19/2021 |
| 16.0.0 | 118,149 | 5/20/2021 |
| 16.0.0-rc1 | 3,758 | 4/20/2021 |
| 15.1.0 | 95,853 | 11/24/2020 |
| 15.0.0 | 76,887 | 4/9/2020 |
| 14.1.0 | 53,974 | 10/2/2019 |
| 14.0.0 | 35,383 | 5/20/2019 |
| 12.3.0 | 19,768 | 11/6/2018 |
| 12.2.0 | 34,440 | 6/12/2018 |
| 12.1.0-beta1 | 1,726 | 5/10/2018 |
Version 22.0: New Chromium rendering engine (Chromium 154), running out of process: the ExpertPdf.HtmlToPdf.NetCore.Chromium.Windows and ExpertPdf.HtmlToPdf.Chromium.Windows packages; RenderingEngine.Chromium. Blink rendering engine updated to Chromium 148, with more robust launching under load (BlinkEngineLaunchTimeout, BlinkEngineLaunchMaxTries, BlinkMaxThreadPoolWorkers). Tagged (accessible) PDF and PDF/UA-1: PdfConverter.Tagged and Language, PdfTagType, alternate and actual text, artifacts. PDF/A-2b, PDF/A-3b, PDF/A-3u and PDF/A-3a (PdfStandardSubset); associated files (Document.AddAssociatedFile). ZUGFeRD 2.x / Factur-X electronic invoices: Document.AddZugferdInvoice (Minimum to Extended and XRechnung profiles). New options: HttpPostParameters, SecureProtocol, RenderElementSelector, PageRanges, WindowStatus, EnableOfflineMode, WebGlEnabled, AllowContentHeightResize. Bookmarks, internal links and HTML elements mapping on the Blink and Chromium engines. ManagedContentTrimming: with the Chromium engine the last page ends where the content ends. MaxConversionTime: a time limit for one conversion, on every engine. Asynchronous methods with cancellation: GetPdfBytesFromUrlAsync, SavePdfFromUrlToFileAsync and more. Table of contents with page numbers and links (Document.InsertTableOfContents), page labels and named destinations.