The Syncfusion® HTML to PDF converter is a .NET Standard library that converts URLs, HTML string, SVG, and MHTML to PDF in .NET Core applications. This converter uses the advanced Blink rendering engine, thus generating pixel-perfect PDF from HTML or URL.
$ dotnet add package Syncfusion.HtmlToPdfConverter.Net.LinuxThe Syncfusion HTML to PDF converter is a .NET Core library that converts URLs, HTML string, SVG, MHTML to PDF in .NET Core application. This converter uses the advanced Blink rendering engine, thus generating pixel-perfect PDF from HTML or URL.
Starting with v20.1.0.x, if you reference Syncfusion HTML converter assemblies from trial setup or from the NuGet feed, include a license key in your projects. Refer to link to learn about generating and registering Syncfusion license key in your application to use the components without trail message.
Features overview | Documentation | API Reference | Online Demo | Blogs | Support | Forums | Feedback
Install the Syncfusion.HtmlToPdfConverter.Net.Linux NuGet package as reference to your .NET Core application from NuGet.org.
//Initialize HTML to PDF converter.
HtmlToPdfConverter htmlConverter = new HtmlToPdfConverter();
//Convert URL to PDF.
PdfDocument document = htmlConverter.Convert("https://www.syncfusion.com");
FileStream fileStream = new FileStream("Sample.pdf", FileMode.CreateNew, FileAccess.ReadWrite);
//Save and close the PDF document.
document.Save(fileStream);
document.Close(true);
This NuGet package includes code from the Chromium Project. This code is subject to the terms of the Chromium Project license available here. Syncfusion does not provide any warranty or any indemnity with regard to the use of code from the Chromium Project. If you do not agree to these terms, please do not install, or use this NuGet package.
Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 27,000+ customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.
Today, we provide 1700+ components and frameworks for web (Blazor, Flutter, ASP.NET Core, ASP.NET MVC, ASP.NET Web Forms, JavaScript, Angular, React, Vue, and jQuery), mobile (.NET MAUI (Preview), Flutter, Xamarin, UWP, and JavaScript), and desktop development (WinForms, WPF, WinUI, .NET MAUI (Preview), Flutter, Xamarin, and UWP). We provide ready-to-deploy enterprise software for dashboards, reports, data integration, and big data processing. Many customers have saved millions in licensing fees by deploying our software.
sales@syncfusion.com | www.syncfusion.com | Toll Free: 1-888-9 DOTNET