i need a code in c# so that i can convert webpages n html pages into PDF format
aerian
-1
Newbie Poster
Recommended Answers
Jump to Postthis is a community help forum. We help you with your problem, we don't do everything for you. Tell us what you have tried and what problems your are having and we will help you solve them. We won't do everything for you.
Jump to Postout there got alot PDF convertion DLL, if u need for non bunisess use.
Or u can export your file to excel format using .net and then using microsoft 2007 to convert it to PDF.
Jump to PostAlthough this appears to be a zombie thread, I'm going to recommend iTextSharp which is free open source part of the iTextPdf library project.
If …
Jump to PostSorry couldn't find the initial example I used a couple months ago, was sure they had it in their official sample code somewhere but it goes something like this.
StringReader stringReader = new StringReader(htmlText.ToString()); Document doc = new Document(PageSize.A4); List<iTextSharp.text.IElement> elements = iTextSharp.text.html.simpleparser.HTMLWorker.ParseToList(stringReader, null); doc.Open(); foreach (object …
Jump to PostPelase try useing webreference of Microsoft Nuget and add a reference of PdfSharp. Which has a very rich and easy to handle functionality. By using it you can also create a PDF Document by your C# Code. I Used that into a project when i was new with that. Hope …
All 21 Replies
campkev
0
Posting Pro in Training
kokkee
0
Newbie Poster
Tunde
0
Newbie Poster
flo2007
0
Newbie Poster
winnovative
0
Newbie Poster
winnovative
0
Newbie Poster
hunter_kriss
0
Newbie Poster
hunter_kriss
0
Newbie Poster
winnovative
0
Newbie Poster
dereksmith
0
Newbie Poster
anaschavadi
0
Newbie Poster
astha2288
0
Newbie Poster
Tinier
0
Newbie Poster
AlexHeig
0
Newbie Poster
|-|x
126
Junior Poster in Training
uri3000
0
Newbie Poster
|-|x
126
Junior Poster in Training
prashant9928
0
Newbie Poster
annaharris
0
Junior Poster in Training
talerKK
0
Newbie Poster
Bessemer
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.