FugersonHall

Hi,

I am using Visual Studio 2005 and C# 2.0 to compile a Windows app so that I can click a button to change a html file to a pdf file. Like change c:\a.html to c:\a.pdf, of course, c:\a.html should be kept there.

Thanks a lot.




Re: Visual C# General How to use a Windows App to change a html file to a pdf file

houtexwebdev

you have 2 options....

1) manually write out your pdf file. Here's the reference on how to do that:
http://www.adobe.com/devnet/pdf/pdf_reference.html

2) get a 3rd party converter.

I've done #1 ONCE in my life and still wake up in cold sweats over it. I'd go for #2





Re: Visual C# General How to use a Windows App to change a html file to a pdf file

Jay Vora

if u wanna manually write PDF file .then u use use itextsharp library its gudd..

itextsharp.sourceforge.net

"PDFSHARP" is also a way i hv heard

n if u wanna directly cnvert it to PDF n retain HTML file.so many tools available in market for free like freePDF,primopdf, so many

if u still face problems .do reply






Re: Visual C# General How to use a Windows App to change a html file to a pdf file

FugersonHall

I think that I have to make clear my question: I would like to change a html file to a pdf file using program in C# 2.0. Could anyone please provide a simple example codes 3-party library is also OK.




Re: Visual C# General How to use a Windows App to change a html file to a pdf file

FugersonHall

Any ideas Thanks.




Re: Visual C# General How to use a Windows App to change a html file to a pdf file

Jay Vora

oh so u making an application for HTML to PDF

it means u hv map from htm syntax to PDF.

ohh it seems quite analysis-forcing point.

frst u need to search on net n analyza various 3rd party softwares.. then u can reach upto some decisions.