Below you will find pages that utilize the taxonomy term “HTML to PDF”
Post
How to convert HTML to PDF in .NET
If you are using our HTML to PDF conversion API and you are on .NET Framework or .NET Core we have good news!
We created simple HttpClient extension method called ConvertToPdfAsync. You can use it as following:
using (var client = new HttpClient()) using (var cts = new CancellationTokenSource(TimeSpan.FromSeconds(30))) { //prepare dynamic data (optional step) var data = new Dictionary<string, string>() { { "invoiceNumber", "123" }, { "customerName", "John Doe" }, { "summary", "<u>example</u>" }, { "totalAmount", "456.