You can use the third party library iTextSharp and Spire.Pdf.Both are easy to use and very fast.Spire.Pdf is a paid one and iTextSharp is a open source.
Aadi Kabir2 reputationPosted Jun 1, 2016, 9:16 AM EDT
0
Harsha,
Since the default Microsoft .NET classes don’t support saving PDF files directly, you will need to use a 3rd part toolkit (free or paid) to do the conversion process. I found the some articles that discuss using free and paid toolkits that might help you: https://social.msdn.microsoft.com/Forums/vstudio/en-US/86e4cbee-17ef-47cd-b476-30e8ae053d1d/built-html-to-pdf-convertor-vbnetc-without-any-third-party-tool https://code.msdn.microsoft.com/Convert-from-HTML-to-PDF-09ce2a1d http://stackoverflow.com/questions/28832514/is-it-possible-to-convert-html-textstring-to-pdf-using-leadtools
Ravi SangtaniRank #1,947 · 751 reputationPosted Apr 24, 2016, 9:38 PM EDT
alice yangRank #2,329 · 607 reputationPosted Apr 24, 2016, 11:09 PM EDT
Rajeesh MenothRank #118 · 18.4K reputationPosted Apr 24, 2016, 11:36 PM EDT
Harsha Patil3 reputationPosted Apr 25, 2016, 12:04 AM EDT
Rajeesh MenothRank #118 · 18.4K reputationPosted Apr 25, 2016, 2:41 AM EDT
Aadi Kabir2 reputationPosted Jun 1, 2016, 9:16 AM EDT
Since the default Microsoft .NET classes don’t support saving PDF files directly, you will need to use a 3rd part toolkit (free or paid) to do the conversion process.
I found the some articles that discuss using free and paid toolkits that might help you:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/86e4cbee-17ef-47cd-b476-30e8ae053d1d/built-html-to-pdf-convertor-vbnetc-without-any-third-party-tool
https://code.msdn.microsoft.com/Convert-from-HTML-to-PDF-09ce2a1d
http://stackoverflow.com/questions/28832514/is-it-possible-to-convert-html-textstring-to-pdf-using-leadtools
Hopefully this helps!
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts