EvoPdf.Chromium.Windows
11.1.6
Prefix Reserved
dotnet add package EvoPdf.Chromium.Windows --version 11.1.6
NuGet\Install-Package EvoPdf.Chromium.Windows -Version 11.1.6
<PackageReference Include="EvoPdf.Chromium.Windows" Version="11.1.6" />
paket add EvoPdf.Chromium.Windows --version 11.1.6
#r "nuget: EvoPdf.Chromium.Windows, 11.1.6"
// Install EvoPdf.Chromium.Windows as a Cake Addin #addin nuget:?package=EvoPdf.Chromium.Windows&version=11.1.6 // Install EvoPdf.Chromium.Windows as a Cake Tool #tool nuget:?package=EvoPdf.Chromium.Windows&version=11.1.6
EvoPdf Chromium for .NET
EvoPdf Chromium for .NET | EVO PDF Software | Free Trial | Licensing | Support
EvoPdf Chromium for .NET is a library that can be easily integrated into any type of .NET application to convert web pages and HTML strings to PDF or to image.
The HTML to PDF converter component of the library uses a rendering engine based on Chromium, which can render all modern HTML, CSS and JavaScript content in conformance with the latest standards.
The .NET library in this package targets .NET Standard 2.0 and can be used in any .NET Core or .NET Framework application compatible with this standard. The native runtime is compatible with Windows 64-bit platforms.
This package is fully compatible with Azure App Service and Azure Functions applications for the Windows platform.
There is also a separate similar package for Linux platforms containing the same .NET library but with a different native Chromium runtime.
Main Features
- Create PDF documents from HTML with CSS, SVG, Web Fonts and JavaScript
- Support for the latest standards and technologies used in modern web pages
- Create PDF headers and footers with page numbering from HTML templates
- Repeat HTML tables headers and footers in PDF pages
- Control PDF page breaks using CSS attributes in HTML
- Create a PDF document outline with bookmarks from HTML heading tags
- Create tagged PDF documents for accessibility features
- Automatic and manual conversion triggering mode
- Render for screen or print media types
- Set PDF viewer preferences to control the PDF document display
- Create PDF documents with security features and digital signatures
- Access the HTML page using GET or POST HTTP methods
- Add HTTP headers when requesting the HTML page
- Add cookies when requesting the HTML page
- Convert HTML pages that require authentication
- Convert HTML and web pages to JPEG, PNG and WEBP raster images
Compatibility
The compatibility list of this package includes the following platforms:
- Windows 10, Windows Server 2016 64-bit and above
- .NET Core 8.0, 7.0, 6.0, 5.0, .NET Standard 2.0
- .NET Framework 4.6.2 to 4.8.1
- Azure App Service and Azure Functions for Windows
- Azure Windows Cloud Services and 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 HTML to PDF in your .NET application. You can copy the C# code lines from the section below to create a PDF document from a web page or from a HTML string and save the resulted PDF to a memory buffer for further processing, to a PDF file or send it to browser for download in ASP.NET applications.
C# Code Samples
At the top of your C# source file add the using EvoPdf.Chromium;
statement to make available the EvoPdf Chromium API for your .NET application.
// add this using statement at the top of your C# file
using EvoPdf.Chromium;
To convert a HTML string or an URL to a PDF file you can use the C# code below.
// create the converter object in your code where you want to run conversion
HtmlToPdfConverter converter = new HtmlToPdfConverter();
// convert the HTML string to a PDF file
converter.ConvertHtmlToFile("<b>Hello World</b> from EVO PDF !", null, "HtmlToFile.pdf");
// convert HTML page from URL to a PDF file
string htmlPageURL = "http://www.evopdf.com";
converter.ConvertUrlToFile(htmlPageURL, "UrlToFile.pdf");
To convert a HTML string or an URL to a PDF document in a memory buffer and then save it to a file you can use the C# code below.
// create the converter object in your code where you want to run conversion
HtmlToPdfConverter converter = new HtmlToPdfConverter();
// convert a HTML string to a memory buffer
byte[] htmlToPdfBuffer = converter.ConvertHtml("<b>Hello World</b> from EVO PDF !", null);
// write the memory buffer to a PDF file
System.IO.File.WriteAllBytes("HtmlToMemory.pdf", htmlToPdfBuffer);
// convert an URL to a memory buffer
string htmlPageURL = "http://www.evopdf.com";
byte[] urlToPdfBuffer = converter.ConvertUrl(htmlPageURL);
// write the memory buffer to a PDF file
System.IO.File.WriteAllBytes("UrlToMemory.pdf", urlToPdfBuffer);
To convert in your ASP.NET Core applications a HTML string or an URL to a PDF document in a memory buffer and then send it for download to browser you can use the C# code below.
// create the converter object in your code where you want to run conversion
HtmlToPdfConverter converter = new HtmlToPdfConverter();
// convert a HTML string to a memory buffer
byte[] htmlToPdfBuffer = converter.ConvertHtml("<b>Hello World</b> from EVO PDF !", null);
FileResult fileResult = new FileContentResult(htmlToPdfBuffer, "application/pdf");
fileResult.FileDownloadName = "HtmlToPdf.pdf";
return fileResult;
Free Trial
You can download the EvoPdf Chromium for .NET Zip package from EVO PDF Downloads page of the website.
The Zip package contains a demo ASP.NET application with full C# code for the all features of the library.
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 | 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. |
.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 is compatible. 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. |
-
.NETStandard 2.0
- BouncyCastle.Cryptography (>= 2.4.0)
- SkiaSharp (>= 2.88.8)
- System.Text.Encoding.CodePages (>= 8.0.0)
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 |
---|---|---|
11.1.6 | 949 | 11/5/2024 |