Select.HtmlToPdf.NetCore.Blink 24.1.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Select.HtmlToPdf.NetCore.Blink --version 24.1.0
                    
NuGet\Install-Package Select.HtmlToPdf.NetCore.Blink -Version 24.1.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="Select.HtmlToPdf.NetCore.Blink" Version="24.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Select.HtmlToPdf.NetCore.Blink" Version="24.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Select.HtmlToPdf.NetCore.Blink" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Select.HtmlToPdf.NetCore.Blink --version 24.1.0
                    
#r "nuget: Select.HtmlToPdf.NetCore.Blink, 24.1.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.
#addin nuget:?package=Select.HtmlToPdf.NetCore.Blink&version=24.1.0
                    
Install Select.HtmlToPdf.NetCore.Blink as a Cake Addin
#tool nuget:?package=Select.HtmlToPdf.NetCore.Blink&version=24.1.0
                    
Install Select.HtmlToPdf.NetCore.Blink as a Cake Tool

SelectPdf

SelectPdf offers a Community Edition (FREE) of the powerful Html To Pdf Converter for .NET that can be found in the full featured pdf library SelectPdf for .NET. The free html to pdf converter offers most of the features the professional sdk offers, the only notable limitation is that it can only generate pdf documents up to 5 pages long. SelectPdf Html To Pdf Converter provides versions for .NET Framework and .NET Core 2.0 and above (through .NET Standard 2.0). SelectPdf only works on Windows. SelectPdf works on Azure cloud, including Azure Web Apps (Basic plan or above) with some limitations.

Thank you for using Select.Pdf Html To Pdf Converter for .NET Core - Community Edition. This is a package for .NET 8, .NET 7, .NET 6, .NET 5, .NET Core, .NET 4.7.2, .NET 4.6.1.

Main Features

  • Generate pdf documents up to 5 pages
  • Convert any web page to pdf
  • Convert any raw html string to pdf
  • Set pdf page settings (page size, page orientation, page margins)
  • Resize content during conversion to fit the pdf page
  • Set pdf document properties
  • Set pdf viewer preferences
  • Set pdf security (passwords, permissions)
  • Set conversion delay and web page navigation timeout
  • Custom headers and footers
  • Support for html in headers and footers
  • Automatic and manual page breaks
  • Repeat html table headers on each page
  • Support for @media types screen and print
  • Support for internal and external links
  • Generate bookmarks automatically based on html elements
  • Support for HTTP headers
  • Support for HTTP cookies
  • Support for web pages that require authentication
  • Support for proxy servers
  • Enable/disable javascript
  • Modify color space
  • Multithreading support
  • HTML5/CSS3 support
  • Web fonts support

Documentation and Samples

Online demo C#: https://selectpdf.com/html-to-pdf/demo/
Online demo Vb.Net: https://selectpdf.com/html-to-pdf/demo-vb/
Online documentation: https://selectpdf.com/html-to-pdf/docs/

With SelectPdf is very easy to convert any web page to a pdf document using Blink rendering engine. The code is as simple as this:

    SelectPdf.HtmlToPdf converter = new SelectPdf.HtmlToPdf();
    converter.Options.RenderingEngine = SelectPdf.RenderingEngine.Blink;
    SelectPdf.PdfDocument doc = converter.ConvertUrl("https://selectpdf.com");
    doc.Save("test.pdf");
    doc.Close();

IMPORTANT: Please note that THIS IS NOT A FREE TRIAL of our commercial library. This is a different, FREE product, that contains less features than the full library. If you want to test our full SelectPdf Library for .NET use one of the following urls:

https://selectpdf.com/pdf-library-for-net/
https://www.nuget.org/packages/Select.Pdf.NetCore/
https://www.nuget.org/packages/Select.Pdf/

Installation troubleshooting

When SelectPdf HtmlToPdf Converter is installed into your project, a reference to Select.HtmlToPdf.dll is created. Besides this assembly, several additional files are needed by SelectPdf:

  • Select.Html.dep (required when the Webkit rendering engine is used for html to pdf conversions)
  • Chromium-113.0.5672.127 folder (required when the Blink rendering engine is used for html to pdf conversions)

If you are using a newer NuGet client (newer Visual Studio - 2017+) and a newer project type that uses PackageReference, these files are automatically copied to your project. If you are using older Visual Studio versions or older project types, these files will not be copied automatically to your project.
IMPORTANT: If you do not see these files into your project, you need to manually copy them from the packages folder located next to your solution. You will find them in \packages\Select.HtmlToPdf.NetCore.24.1.0\contentFiles\any\any\ folder. Copy all the files into your project bin folder (\bin\Release, \bin\Debug), next to SelectPdf library main assembly - Select.HtmlToPdf.dll.

IMPORTANT: To have these files included when you publish or deploy your application, set in Visual Studio:

  • Build Action: Content
  • Copy to Output Directory: Copy if newer

For complete product information, take a look at SelectPdf Website.

There are no supported framework assets in this 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
25.1.0 659 4/15/2025
24.1.0 13,286 6/3/2024
23.2.0 17,661 12/5/2023
23.2.0-rc2 642 10/5/2023
23.2.0-rc1 632 10/2/2023
23.1.0 33,763 6/8/2023
23.1.0-dev2 623 3/21/2023
23.1.0-dev1 724 3/14/2023
22.2.0 23,457 12/12/2022
22.1.0 31,816 3/21/2022
21.2.0 7,311 11/25/2021
21.1.0 21,756 5/6/2021
20.2.0 7,895 10/26/2020
20.1.0 22,149 4/24/2020
19.2.0 20,700 10/16/2019
19.1.0 8,815 5/10/2019