Print Page | Close Window

Insert multiple pages according number pages

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: General Discussion
Forum Description: Discussion board for Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3450
Printed Date: 28 Apr 24 at 2:32PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Insert multiple pages according number pages
Posted By: aipc
Subject: Insert multiple pages according number pages
Date Posted: 29 Mar 17 at 4:13PM
I would like to know if this is possible with quick pdf library. 

I have a pdf with 120 pages

in the page 32 i want to do an insertion

in the page 38 another

in the page 83 other insertion

in the page 102 other. 

But if I insert a pdf of 4 pages in the first target all is renumbered....

Can I do all the insertions at once according to plan , independently of the renumbering of the pdf final document ?

Best Regards




Replies:
Posted By: Ingo
Date Posted: 29 Mar 17 at 6:41PM
Hi,

so you want the inserted pages at special places...
You'll need three documents to be open.
A new, empty one (if you create a new one QuickPDF inserts automatically one empty page inside ... you have to delete it).
The one with the four pages.
The one where the four pages shall be inserted.
Now you can copy the first 31 pages into the empty one ...
Then the first (from the four) page ...
then the next from 33 up to 82 ...
Then the second from the four ...
And so on...
In the end you have all pages (the old pages and the inserted new four pages) at the right positions in the new pdf.

This isn't absolutely the one you're asking for but it will give you an idea:
http://www.debenu.com/kb/programmatically-insert-pages-from-one-pdf-file-to-another-pdf-file/
Here are the functions you'll need:
http://www.debenu.com/docs/pdf_library_reference/PageManipulation.php




-------------
Cheers,
Ingo



Posted By: aipc
Date Posted: 30 Mar 17 at 1:02PM
I'll take a look 

Best Regards

It seems so easy with Quickpdf !

Smile



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