Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. related to itext sharp

related to itext sharp

Scheduled Pinned Locked Moved ASP.NET
questioncsharpasp-netcareer
11 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U User 9760263

    I have one form that is built in asp.net containing fields such as name, bank deatils etc. after filling that online form the user will submit the data and on clicking a button pdf of the whole form filled by the user must be generated. how can i do this using itext sharp? also mention another any open source third party tool for this job if available and better than itextsharp?? plz reply ASAP.

    A Offline
    A Offline
    Abhishek Pant
    wrote on last edited by
    #2

    Convert text into PDF using ASP.NET and C#[^] hope it helped.

    Google-A globe of mirror.

    U 1 Reply Last reply
    0
    • U User 9760263

      I have one form that is built in asp.net containing fields such as name, bank deatils etc. after filling that online form the user will submit the data and on clicking a button pdf of the whole form filled by the user must be generated. how can i do this using itext sharp? also mention another any open source third party tool for this job if available and better than itextsharp?? plz reply ASAP.

      S Offline
      S Offline
      Sandeep Mewara
      wrote on last edited by
      #3

      Member 9798541 wrote:

      how can i do this using itext sharp?

      You should have tried something before posting it. Start from here: Convert text into PDF using ASP.NET and C#[^]. There are more articles on using iTextSharp here on CP itself, just search for it.

      Member 9798541 wrote:

      also mention another any open source third party tool for this job if available and better than itextsharp?

      Not that I am aware of.

      Sandeep Mewara Microsoft ASP.NET MVP 2012 & 2013 [My Latest Article(s)]: How to extend a WPF Textbox to Custom Picker Server side Delimiters in ASP.NET

      1 Reply Last reply
      0
      • A Abhishek Pant

        Convert text into PDF using ASP.NET and C#[^] hope it helped.

        Google-A globe of mirror.

        U Offline
        U Offline
        User 9760263
        wrote on last edited by
        #4

        k. can u tell me how can we set the background color of the text written in paragraph as Paragraph heading=new paragraph("know your client"); doc.add(heading); I want to color or highlight the text "know your client" plz reply

        A 1 Reply Last reply
        0
        • U User 9760263

          k. can u tell me how can we set the background color of the text written in paragraph as Paragraph heading=new paragraph("know your client"); doc.add(heading); I want to color or highlight the text "know your client" plz reply

          A Offline
          A Offline
          Abhishek Pant
          wrote on last edited by
          #5

          Know your client

          above is demonstration.

          Know your client

          --AP

          U 3 Replies Last reply
          0
          • A Abhishek Pant

            Know your client

            above is demonstration.

            Know your client

            --AP

            U Offline
            U Offline
            User 9760263
            wrote on last edited by
            #6

            k. Thanks for the reply. I add the code in my pdf generate func but it is providing me the error style="background-color:green;">Know your client

            ;** in first opening tag of

            error is: ;expected in the second the text which i would like to highlight i.e the name know does not exist in the current context. and again at last closing tag of

            error is: ;expected**

            1 Reply Last reply
            0
            • A Abhishek Pant

              Know your client

              above is demonstration.

              Know your client

              --AP

              U Offline
              U Offline
              User 9760263
              wrote on last edited by
              #7

              k. Thanks for your continuous replies...... I have written the following code for highlight the text in pdf using itextsharp in asp.net

              Know your client

              ; but i am getting the error in opening and closing tag of

              and

              the error is expected ; and also the text know your client error is doesnot exist in current context. plz reply as soon as possible.

              A 1 Reply Last reply
              0
              • A Abhishek Pant

                Know your client

                above is demonstration.

                Know your client

                --AP

                U Offline
                U Offline
                User 9760263
                wrote on last edited by
                #8

                one more thing i would like to ask. the pdf generated using itextsharp will be generated to the client when he/she will completed the form filling process then on clicking the generate pdf button the pdf will be generated regarding the details which are fi;;ed by the client. now i would like to ask is there any need of licence etc to use for itextsharp commericially purpose. THANKS IN ADVANCE. plz reply ASAP.

                A 1 Reply Last reply
                0
                • U User 9760263

                  k. Thanks for your continuous replies...... I have written the following code for highlight the text in pdf using itextsharp in asp.net

                  Know your client

                  ; but i am getting the error in opening and closing tag of

                  and

                  the error is expected ; and also the text know your client error is doesnot exist in current context. plz reply as soon as possible.

                  A Offline
                  A Offline
                  Abhishek Pant
                  wrote on last edited by
                  #9

                  Insert that above code inside the "" like this- "paste your code here" on server side. :thumbsup:Happy coding ! :) ! I always prefer good work. :-D

                  -- vote and accept solution if it helps you.As it may help others when they search here. -- AP

                  U 1 Reply Last reply
                  0
                  • U User 9760263

                    one more thing i would like to ask. the pdf generated using itextsharp will be generated to the client when he/she will completed the form filling process then on clicking the generate pdf button the pdf will be generated regarding the details which are fi;;ed by the client. now i would like to ask is there any need of licence etc to use for itextsharp commericially purpose. THANKS IN ADVANCE. plz reply ASAP.

                    A Offline
                    A Offline
                    Abhishek Pant
                    wrote on last edited by
                    #10

                    Member 9798541 wrote:

                    now i would like to ask is there any need of licence etc to use for itextsharp commericially purpose.

                    Not a lawyer but for your Knowledge,Infomation is as below: iText(iText#)[^] is a free and open source library for creating and manipulating PDF files in C#.version 5.0.0 (released Dec 7, 2009) it is distributed under the Affero General Public License[AGPL] v3. "Projects that do not want to provide their source code may either purchase a commercial license to iText 5 for an undisclosed price or continue using previous versions of iText under the more liberal license without any changes" that means for using iText v5.0 you have to buy a lisence.However Versions of iText through 4.1.6/4.2.0 were released under the MPL[^] and LGPL[^] licenses, which allowed them to be used in closed-source software projects. check more detail[^] see terms of use[^] website for itext[^]

                    They(itext) pay me from time to time to provide email support. :laugh: :laugh: :laugh: ---- vote if it helps you. ----- Abhishek Pant

                    1 Reply Last reply
                    0
                    • A Abhishek Pant

                      Insert that above code inside the "" like this- "paste your code here" on server side. :thumbsup:Happy coding ! :) ! I always prefer good work. :-D

                      -- vote and accept solution if it helps you.As it may help others when they search here. -- AP

                      U Offline
                      U Offline
                      User 9760263
                      wrote on last edited by
                      #11

                      still getting error. actually i am using asp.net on the click event of a button the pdf will be generated so in code i make a function which will generate a pdf. errors after placing the code in "" are: only assignment,call,increment,decrement and new object expressions can be used as a statement the name background does not exist in current context. and many more.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups