Hi, in this post I am going to share very simple and easy way to convert HTML document to Pdf file on the fly on just one click , you can use it from desktop as well as web application to convert a html page either from local storage or online web page.Lets start this , we are going to use PDFizer (http://sourceforge.net/projects/pdfizer/) for this task , a very easy and simple open source library to use for .net apps.Download that form above url and use the following code for creating a PDF document from html source.
This method will return you html source of the input url so you can create
your pdf of online resources like that.
Recently during R&D I found another opensource pdf creation library for .net which seems to be more powerful (not sure), here is the link for library
"PDFSharp" "http://pdfsharp.codeplex.com/releases/view/37054" , will surely get into it when got some time :)
A very useful post from another forum is "http://csharp.net-informations.com/file/create-pdf.htm".