Select.HtmlToPdf
24.1.0
dotnet add package Select.HtmlToPdf --version 24.1.0
NuGet\Install-Package Select.HtmlToPdf -Version 24.1.0
<PackageReference Include="Select.HtmlToPdf" Version="24.1.0" />
<PackageVersion Include="Select.HtmlToPdf" Version="24.1.0" />
<PackageReference Include="Select.HtmlToPdf" />
paket add Select.HtmlToPdf --version 24.1.0
#r "nuget: Select.HtmlToPdf, 24.1.0"
#addin nuget:?package=Select.HtmlToPdf&version=24.1.0
#tool nuget:?package=Select.HtmlToPdf&version=24.1.0
SelectPdf Html To Pdf Converter for .NET - Community Edition
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.
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. 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/
IMPORTANT: This package works for .NET Framework up to version 4.5. To use newer .NET Framework versions, .NET Core, .NET 5 - .NET 8 use the following package: https://www.nuget.org/packages/Select.HtmltoPdf.NetCore/
For complete product information, take a look at SelectPdf Website.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net20 is compatible. net35 was computed. net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Select.HtmlToPdf:
Package | Downloads |
---|---|
LMT.AspNet.ViewToPdf
Return PDF rendered from view, using Select.HtmlToPdf. Add "using static LMT.AspNet.ViewToPdf.PdfView;" for convenience. Checkout demo here: https://github.com/15110123/Lmt.AspNet.ViewToPdf/blob/master/Lmt.AspNet.ViewToPdf.Test/ |
|
CB.CSharp
some C# extensions and tools |
|
POSService
POS Service |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Select.HtmlToPdf:
Repository | Stars |
---|---|
qq283335746/Wms
WMS(智能仓储配送平台),一个具有后端+前端+移动/PDA端的项目
|
Version | Downloads | Last updated |
---|---|---|
24.1.0 | 128,103 | 6/3/2024 |
23.2.0 | 166,832 | 12/5/2023 |
23.2.0-rc2 | 3,195 | 10/5/2023 |
23.2.0-rc1 | 1,828 | 10/2/2023 |
23.1.0 | 152,948 | 6/8/2023 |
23.1.0-dev2 | 3,398 | 3/21/2023 |
23.1.0-dev1 | 2,717 | 3/14/2023 |
22.2.0 | 147,910 | 12/12/2022 |
22.1.0 | 260,216 | 3/21/2022 |
21.2.0 | 177,838 | 11/25/2021 |
21.1.0 | 396,877 | 5/6/2021 |
20.2.0 | 294,051 | 10/26/2020 |
20.1.0 | 323,548 | 4/24/2020 |
19.2.0 | 400,221 | 10/16/2019 |
19.1.0 | 228,691 | 5/10/2019 |
18.4.0 | 408,234 | 11/12/2018 |
18.3.1 | 316,662 | 6/7/2018 |
18.2.0 | 71,500 | 5/9/2018 |
18.1.0 | 69,309 | 3/19/2018 |
17.3.0 | 243,089 | 10/17/2017 |
17.2.0 | 41,158 | 9/25/2017 |
17.1.0 | 240,893 | 3/23/2017 |
2.4.0.1 | 123,453 | 10/20/2016 |
2.3.0 | 180,706 | 6/6/2016 |
2.2.0 | 80,338 | 3/24/2016 |
2.0.1 | 30,022 | 2/1/2016 |
1.2.0 | 89,625 | 5/29/2015 |
1.0.0.1 | 41,664 | 2/23/2015 |