Print Page | Close Window

Work with multiple PDFs in memory?

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1083
Printed Date: 26 Jun 24 at 6:45AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Work with multiple PDFs in memory?
Posted By: jslarve
Subject: Work with multiple PDFs in memory?
Date Posted: 09 May 09 at 5:02PM
QuickPDF is working nicely. I have a question about how you would do a particular thing, though:

I have a "template" pdf, from which I fill in a bunch of form fields that are already on this pdf.

It's easy enough to do that, but I want to do a batch of records, each with their own form.

It's easy enough to do that too.

But I want all of the "filled" forms to be appended to the original (un-filled) form.

I can do that by just creating a whole bunch of filled pdfs and appending them at the end of my process, then delete the originals.

But I was hoping I could do this without having to create 50 PDFS on the disk.

Is that possible?

No big deal, but it woudl be nice if it could all be managed in memory.

Thank you

Jeff Slarve



Replies:
Posted By: Jim Sullivan
Date Posted: 12 May 09 at 9:32PM
When you use QuickPDF to create a document, you use LoadFromFile, right?  That adds the PDF template to the file in memory.  Fill out that form, then use LoadFromFile to load the template again.  That will add the template as another document in the same file in memory.  Repeat as long as neccessary.
 
When you're done, iterate through your documents using MergeDocument to merge them one at a time.
 
I do this in my application but don't have access to my source right now.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk