Can we convert the record displayed on the web page to pdf doc ? if possible then how we can achieve this?
sania khan
0
Newbie Poster
Recommended Answers
Jump to PostABCpdf - it's a PDF component for ASP.NET, suitable for use in multi-threaded environments.
One way you could convert your ASPX page would be to simply pass the URL to the AddImageUrl function. Something like...
…Doc theDoc = new Doc(); theDoc.AddImageUrl("http://www.example.com/somepage.aspx"); theDoc.Save(Server.MapPath("htmlimport.pdf")); theDoc.Clear();
Jump to PostDid you add a reference to the component from your Visual Studio project? Right-click on your project in the solution explorer and select 'Add reference...', look for WebSupergoo.ABCpdf under the .NET tab.
It's useful to include some namespaces also, so add the following to the top of your C# code …
Jump to PostABCpdf is commecial product. Use wkhtmltopdf tool or download the iTextSharp library. (Tutorials link)
All 13 Replies
kvprajapati
1,826
Posting Genius
Team Colleague
sania khan
0
Newbie Poster
sania khan
0
Newbie Poster
LaxLoafer
71
Posting Whiz in Training
sania khan
0
Newbie Poster
LaxLoafer
71
Posting Whiz in Training
sania khan
0
Newbie Poster
LaxLoafer
71
Posting Whiz in Training
sania khan
0
Newbie Poster
sania khan
0
Newbie Poster
kvprajapati
1,826
Posting Genius
Team Colleague
sania khan
0
Newbie Poster
SautinSoft
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.