Solved

.NET Web Page Print to PDF

Posted on 2011-09-12
3
370 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 AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Error in JQuery 5 52
Error on link 14 46
Help with C#, MVC, razor. 6 34
Winform Module - What is the ASP.Net equiv 2 20
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

770 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