Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

iTextSharp PDF Template vs Complete Creation Experience?

Posted on 2015-01-09
1
Medium Priority
?
425 Views
Last Modified: 2015-01-12
Hey all,


So just looking for some feedback on thoughts on this and I am not looking for someone to agree with me purely to agree I want to take an open minded approach to this one way or the other.    I have been tasked with creating an Invoice PDF that consists of a header which is just an image and Text that says 'Invoice' then the Body then a top section which is a Bill To that contains Address info such as Line1, Line2, Line3 all which I would need to suppress certain lines and move up if for example Line 3 is Null etc.   Then there is a body that can have 1 to Many tables of fees in it.   Last there is a bottom section also dynamic and standard page contact detail line.

My initial thoughts were to build the entire PDF from scratch the header, footer and then body section using tables and phrases etc. with line positions etc. to control it.   The other option is to create a PDF template with Adobe with form fillable fields but I would have to see how does this work with suppressing lines filling in a body section that can grow and shrink etc.    Pros and Cons to both etc.    One way is if the template changes we just change the look and feel in the template but still all other areas are dynamic.

Thanks all.
Appreciate the feedback from those that have used PDF Template with iTextSharp.
0
Comment
Question by:sbornstein2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 12

Accepted Solution

by:
Ammar Gaffar earned 2000 total points
ID: 40543779
I will start with the final output required which Invoice in PDF format.

Why you don't use normal report available in Visual Studio with report viewer control which is also available with PDF export functionality out of the box?
If you don't want to keep invoices data in a database, and you are looking  just for filling invoice and create PDF version this will work as well using data sets only.

You can do it with iTextSharp but the efforts is much more than using normal report!
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Adobe PDF proprietary file format is recognized as secure and formulated. But these PDF files are also prone to corruption and any external threat like virus attacks, improper storage can hit PDF file integrity.This type of damages can make cruc…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In this third video of the Xpdf series, we discuss and demonstrate the PDFtoText utility, which converts PDF files into plain text files. Download and install the software.: You may have already downloaded and installed the Xpdf tools while watching…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question