While Converting HTML content as pdf document using webservice ,the style specified in html document would not apply in pdf document.
Please any one give the suggestion to apply style specified in html document.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Santosh Ubale35 reputationPosted Aug 12, 2014, 8:27 PM EDT
1. Also read comments under this article
http://www.codeproject.com/Articles/7089/Generate-PDF-documents-from-a-HTML-page-using-ASP
2. Check Solution1
http://www.codeproject.com/Questions/425227/Html-to-PDF-conversion-using-csharp
"ACCEPT THIS ANSWER IF IT HELPS YOU" :)
Santosh Ubale35 reputationPosted Aug 12, 2014, 8:31 PM EDT
http://www.codeproject.com/Articles/638514/Create-PDF-from-html-using-Csharp-Nustache-Mustach
"ACCEPT THIS ANSWER IF IT HELPS YOU" :)
Alex SmithRank #4,089 · 366 reputationPosted Aug 13, 2014, 11:32 PM EDT
refer this article - Convert HTML to PDF with new plugin ,this method supports to convert the HTML page with rich elements, such as HTTPS, CSS3, HTML5, JavaScript to PDF without changing original layout..Hope helpful
Slavica Matijevi15 reputationPosted Oct 7, 2014, 1:49 AM EDT
Sarath here is another solution for converting your HTML files into PDFs in .NET:
DocumentModel.Load("Document.html",
new HtmlLoadOptions())
.Save("Document.pdf",
new PdfSaveOptions());
Its very straightforward way I believe.