JRHeaven : Free Computer Books, IT Books, Project Guidelines, Novels and Many More...

Thursday, July 24, 2014

E-card Generator in ASP.Net C# using iTextSharp

Create E-Card Generator  (PDF format file) in ASP.Net with C# using iTextSharp




E-Card Generator

           This article explain how to use iTextSharp in ASP.Net with c# and create a simple E-Card Generate application which take some inputs from the users and produce the E-card in PDF format. These cards are like visiting cards or business cards. I gave the name to this application "Online E-card Generator".


           iText is a PDF library that allows you to CREATE, ADAPT, INSPECT and MAINTAIN documents in the Portable Document Format (PDF). iText is used by Java, .NET, Android and GAE developers to enhance their applications with PDF functionality. iTextSharp is the .NET port. 


>>     This web application created in MS Visual Studio 2010 (Framework 4.0), and also iTextSharp library to generate pdf file, CSS3 for designing and of course C# for code behind.

Download the code from the link as given below.

The following are the screenshot of three simple step to generate card :



Step 1 : Choose card template


Step 2 : Enter the details in form


Step 3 : Download the card

Steps to run project :

1. Download .rar file from the link given below.
2. Extract file on your system.
3. Open EcardGenerator.sln file in Visual Studio 2010.
4. Press F5 to run project.

                  In the source code  you can see the "Template" folder, which contains the logic class file to generate the cards in pdf format. The "src" folder contains the design files for the web pages.

 Enjoy the code and have a nice day !!

Download Code

5 comments:

  1. Hello,

    when I am click the download link at that time it shows that the above message i.e.

    Not Found
    The requested URL /download/23924968/EcardGenerator.rar.html was not found on this server.

    ReplyDelete
    Replies
    1. Hello Karan,
      We have updated download link for E-Card Generator. Please check now.

      Thanks for reaching to us, Keep visiting to our blog.

      Delete
  2. How can i add Template Folder in my project and exactly what is it used for???

    ReplyDelete
  3. n how can add iTextSharp library in visual studio 2015 ??? Reply Fast

    ReplyDelete