How to Convert HTML to PDF
Almost every SaaS product or service needs to create PDF document in an easy way and sometimes what is an obvious task is not so easy to implement. We are not talking about creating PDF from other programs but creating PDF on-the-fly, for example, when someone buy something in your webshop you want to send him thank you letter together with an attached PDF invoice.
There are free and paid solutions to achieve this task. I will cover here only this topic “How to create PDF in Microsoft .NET and CSharp – C#”.
I have created online service with strong API to do this and is located at: https://pdf.kvadrati.com and it allows you to get exactly the same PDF as it is your provided public URL, or if URL is not public, you can just render it internally into the HTML code and give my service HTML code. In both cases I return you nice PDF.
Here is API Swagger docs: https://pdf.kvadrati.com/swagger/index.html
Here is also documentation: https://pdf.kvadrati.com/api-dokumentacija
It is free for small usage, for bigger amount I give you commercial license, so just use contact form on this service and write.