Skip to main content
.NETStandard2.1net6.0net7.0

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.

Published
Oct 30, 2023
3y ago
Total Downloads
185.9K
185,904

Install

dotnet add package Syncfusion.HtmlToPdfConverter.Net.Aws --version 23.1.43
ProductVersions
.NET
net6.0net7.0
.NET Standard
netstandard2.1

README

Syncfusion .NET HTML to PDF converter

The 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.

NET HTML to PDF converter Features overview | Documentation | API Reference | Online Demo | Blogs | Support | Forums | Feedback

Key Features

System Requirements

Getting Started

Install the Syncfusion.HtmlToPdfConverter.Net.Aws NuGet package as reference to your .NET Core application from NuGet.org.

Convert HTML to PDF document programmatically using C#

//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);

License

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.

About Syncfusion

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.

[email protected] | www.syncfusion.com | Toll Free: 1-888-9 DOTNET

Changes from Previous Version

No structural changes between v23.1.42 and v23.1.43.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.