Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
Work with multiple PDFs in memory? |
Post Reply |
Author | |
jslarve
Beginner Joined: 09 May 09 Location: United States Status: Offline Points: 1 |
Post Options
Thanks(0)
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 Edited by jslarve - 09 May 09 at 5:03PM |
|
Jim Sullivan
Team Player Joined: 10 Nov 05 Location: United States Status: Offline Points: 36 |
Post Options
Thanks(0)
|
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.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store