Results 1 to 7 of 7

Thread: iTextSharp - Any simple HTML to ASP Examples out there

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2008
    Location
    Merseyside
    Posts
    456

    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.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: iTextSharp - Any simple HTML to ASP Examples out there


  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2008
    Location
    Merseyside
    Posts
    456

    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?

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    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.

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    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!

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2008
    Location
    Merseyside
    Posts
    456

    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.

  7. #7
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    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).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width