Solved

.NET Web Page Print to PDF

Posted on 2011-09-12
3
365 Views
Last Modified: 2012-05-12
In vb.net / c# Is there any way to print a section of the webpage to pdf ?
0
Comment
Question by:EasyToHelp
3 Comments
 
LVL 1

Expert Comment

by:rerard
ID: 36524373
Do you control the webpage or no?  I have been using Winnovative (http://www.winnovative-software.com/) to do just that in a VB application.  I make an HTTP call, passing values via the URL query string to the site so that it shows me what I want and I use the Winnovative stuff to convert the resulting HTML to a PDF which I save on the server.  The PDF is then sent out as an email but I don't think you care about that part.
0
 
LVL 28

Expert Comment

by:strickdd
ID: 36524852
If you want to create it programmatically, I would recommend iTextSharp. It is free and open source. If you are willing to pay for the service, you can look into ActivePDF, but it has some significant issues compared to iTextSharp.
http://itextpdf.com/
0
 
LVL 13

Accepted Solution

by:
jonnidip earned 500 total points
ID: 36549518
If you want to do it by code, I would suggest you to use PdfSharp.
It is easy to use and has better performances than iTextSharp.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now