There are so many ways in which you can convert HTML to PDF files but most of it has its own drawbacks that can annoy you. In this articles, we’ll teach you how to make one in various solutions like iTextSharp, wkhtmltopdf, and Spire.PDF.
The simplest solution which can yield high quality result is Spire.PDF. wkhtmltopdf, on the other hand is just as simple but it has strange codes when converting HTML pages in GB2132 to PDF. iTextSharp is a commercial application and does not require your app to be released as open source. However, it doesn’t work with complex HTML pages.
Read the rest of the tutorial here:Â http://www.codeproject.com/Tips/704095/Solutions-to-convert-HTML-to-PDF-files-with-Csharp