📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

Select.HtmlToPdf.NetCore

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Select.HtmlToPdf.NetCore

SelectPdf Html To Pdf Converter for .NET Core - Community Edition is the free version of the powerful html to pdf converter available in SelectPdf Library for .NET Core and .NET 5-8. The converter offers a lot of powerful options (convert any web page to pdf, convert any html string to pdf, html5/css3/javascript support, headers and footers support, etc) and the only limitation is that it can generate pdf documents up to 5 pages long. Free Html to Pdf Converter For .NET – Community Edition 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 and many more.

24.1.0
NuGet
Version published
Maintainers
1
Created
Source

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

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 Select.Pdf is very easy to convert any web page to a pdf document. The code is as simple as this:

        SelectPdf.HtmlToPdf converter = new SelectPdf.HtmlToPdf();
        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-88.0.4324.0 folder (required when the Blink rendering engine is used for html to pdf conversions) - if this is needed, install the Select.HtmlToPdf.NetCore.Blink Nuget package.

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.21.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 https://selectpdf.com. For support, contact us at support@selectpdf.com.

Keywords

pdf

FAQs

Package last updated on 03 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts