iTextSharp - Any simple HTML to ASP Examples out there
Hi All,
Be looking into finding a free way to create a PDF document from HTML and i noticed that iTextSharp was mentioned (and to stay away from Adobe Acrobat's SDK ;))
As its nealy home time for me i was wondering if anyone has any quick examples of how to implement it.
I'll take a look at their site on monday new week anyway, but i though i would drop a quick message in here to see if someone could give me a quick head start with whats required coding wise!
Cheers.
Re: iTextSharp - Any simple HTML to ASP Examples out there
Re: iTextSharp - Any simple HTML to ASP Examples out there
cheers Mendy...
I'm looking to use this with ASP.NET, using VB as the back end. I noticed that its in C#.
Have you used it before in a ASP.NET project which uses VB?
Re: iTextSharp - Any simple HTML to ASP Examples out there
Yes I have, but the language of the tutorial doesn't matter. What is shown there can be accomplished in VB.NET, it's only a matter of translating the code from C# to VB.NET. You can find plenty of online converters that do this.
Re: iTextSharp - Any simple HTML to ASP Examples out there
You can also convert it yourself, good learning opportunity if you don't know C# yet!
Re: iTextSharp - Any simple HTML to ASP Examples out there
Yeah the converting shouldn't be too bad.
The only problem i'm having is using the correct files so that i can import the right objects correctly.
I have downloaded from here
http://www.lowagie.com/iText/download.html
and found this site which seems to have the .NET version also.
http://www.ujihara.jp/iTextdotNET/en/download.html
Just having problems working out where to put the right files and how to reference them in an asp page.
Re: iTextSharp - Any simple HTML to ASP Examples out there
Unzip the files. Find the DLLs. Add reference to them in your project.
Import the namespaces (which you will find in the tutorial code listings).