2012-04-05 67 views
-2

我可以在我的程序中獲取我的頁面的html代碼,我想要做的是我要將這個html頁面代碼放入pdf文件中,我的pdf文件將和我的html頁面一樣。可能嗎 ?如果是的話,我該怎麼做?在asp.net中將html頁面寫入pdf文件

+0

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 2012-04-05 11:36:36

+0

試試這個[Convert-Documents-to-PDFs](http://www.codeproject.com/Articles/17574/Programmatically-Convert-Documents-to-PDFs-the -Eas)和[convert-html-to-pdf-in-net](http://stackoverflow.com/questions/564650/convert-html-to-pdf-in-net) – PresleyDias 2012-04-05 11:37:43

回答

1

使用PDFSharp庫來做到這一點。我希望這會有所幫助。