-2

I can get my page's html code during my program and what I want to do is that I want to put this html page code in to the pdf file and My pdf file will be the same as my html page. is it possible ? if yes , how can I do this ?

EmreAltun
  • 393
  • 6
  • 9
  • 19
  • Google asp.net html to pdf...http://www.google.co.uk/search?q=asp.net+html+to+pdf&sourceid=ie8&rls=com.microsoft:en-gb:IE-SearchBox&ie=&oe=&safe=on&redir_esc=&ei=qoN9T8_NOIKxhAej84G6DA – Lloyd Apr 05 '12 at 11:36
  • try this [Convert-Documents-to-PDFs](http://www.codeproject.com/Articles/17574/Programmatically-Convert-Documents-to-PDFs-the-Eas) and [convert-html-to-pdf-in-net](http://stackoverflow.com/questions/564650/convert-html-to-pdf-in-net) – PresleyDias Apr 05 '12 at 11:37

1 Answers1

1

Use PDFSharp library to do that. I hope it will be helpful.

Hemesh Singh
  • 1,105
  • 2
  • 9
  • 13