-
Oct 9th, 2012, 02:37 AM
#1
Thread Starter
Hyperactive Member
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?
-
Oct 9th, 2012, 03:56 AM
#2
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.
Please mark you thread resolved using the Thread Tools as shown
-
Oct 9th, 2012, 03:59 AM
#3
Thread Starter
Hyperactive Member
Re: Suggestions for creating PDF documents
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?
-
Oct 9th, 2012, 09:17 AM
#4
Re: Suggestions for creating PDF documents
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
Please mark you thread resolved using the Thread Tools as shown
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|