Suggestions for creating PDF documents
Hi,
Using data posted by a mobile app to my database (via a web api) I will need to create PDF forms with the data filled in as if a user did that.
I never did PDF generation, so some "points" that might help decide what to use:
Forms are pretty much a tabular structure.
Some pages are in portrait, while others in landscape.
Some columns have the data printed vertically.
I will need to put images (saved in database, byte arrays) in some fields.
From what I read so far ITextSharp seems to be a popular choice? Does anyone know if it can do all the above?
Re: Suggestions for creating PDF documents
Yes. ITEXTSHARP is the popular option. Another one is crystal report. You can create a template report pass the argument, and then export the report to PDF.
Re: Suggestions for creating PDF documents
Quote:
Originally Posted by
danasegarane
Yes. ITEXTSHARP is the popular option. Another one is crystal report. You can create a template report pass the argument, and then export the report to PDF.
hmm. I just found out the desktop app in use (vb.net... i use mvc/c#..it's a web app) generate these forms that way. (exactly the forms I need to generate)
Before looking into it, would i be wrong to assume I can probably just take their "crystal templates" (whatever u call it, never worked with it), have a reference to crystal in my web app and pass it variables upon which it return me a pdf?
Re: Suggestions for creating PDF documents
Quote:
Originally Posted by
Krokonoster
hmm. I just found out the desktop app in use (vb.net... i use mvc/c#..it's a web app) generate these forms that way. (exactly the forms I need to generate)
Before looking into it, would i be wrong to assume I can probably just take their "crystal templates" (whatever u call it, never worked with it), have a reference to crystal in my web app and pass it variables upon which it return me a pdf?
1. Need to create one Crystal Report file
2. Pass the Values to the Crystal report as parameters
3. Export the Crystal Report to PDF
4. Example