Click here to Skip to main content
15,886,788 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
please help me to make pdf file from the html page
Posted
Comments
Easked 4-Dec-15 4:26am    
Here is an article about HTML to PDF conversion done in C#.
The article uses this Word processing component for .NET, it makes this task rather straightforward:

DocumentModel.Load("index.html", LoadOptions.HtmlDefault).Save("index.pdf", SaveOptions.PdfDefault);

You can also easily export that PDF file from ASP.NET website to the browser's client.

There are many questions about this already. You can use the previous answers as reference. Have a look.

Convert ASP.NET web page to PDF[^]
Show HTML In PDF[^]
Please Help me Convert HTML to PDF[^]
Convert aspx page to PDF[^]
 
Share this answer
 
Hope Generate PDF documents from a HTML page using ASP.NET[^] article from CP might help you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900