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!
![]() |
MovePage ?? |
Post Reply ![]() |
Author | |
hawkmaster ![]() Beginner ![]() Joined: 01 Apr 12 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() Posted: 06 Apr 12 at 7:00PM |
Hello,
can somebody give me a short example code (perhaps PHP) how you can move a page in a PDF? For example a 10 pages PDF, I want to move page 3 behind page 7. thanks a lot regards hawk |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi Hawk!
You don't post a sample - so i've moved your posting into this section ;-) I've searched all online resources offered by the publishers of QuickPDF and found the following... Here are all functions regarding your issue: http://www.quickpdflibrary.com/help/quickpdf/PageManipulation.php The function MovePage: http://www.quickpdflibrary.com/help/quickpdf/MovePage.php Here is a basic sample how to work with PHP: http://www.quickpdflibrary.com/samples/download/php_activex_sample.zip How can I insert pages from one PDF file to another PDF file? http://www.quickpdflibrary.com/faq/how-can-i-insert-pages-from-one-pdf-file-to-another-pdf-file.php Capture a page from a document and draw it onto another page: http://www.quickpdflibrary.com/faq/capture-a-page-from-a-document-and-draw-it-onto-another-page.php Cheers and welcome here, Ingo Edited by Ingo - 06 Apr 12 at 7:58PM |
|
![]() |
|
hawkmaster ![]() Beginner ![]() Joined: 01 Apr 12 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
Hi Ingo,
thanks for your help, I also searched the forum for "MovePage" but nothing found here. I have also looked into the PDF reference guide. But it is not clear for me. In the reference it means "Moves the selected page to a new position in the document" there is only a parameter for the new position, but how can you do the "Selected page" which is the selected page? regards hawk |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Try the selectpage-function then you'll get the id of the page
and with this id you're doing the move. |
|
![]() |
|
edvoigt ![]() Senior Member ![]() ![]() Joined: 26 Mar 11 Location: Berlin, Germany Status: Offline Points: 111 |
![]() ![]() ![]() ![]() ![]() |
Hi,
in Delphi your sample (move page 3 after page 7) looks so: QP.SelectPage(3); // select page to manipulate QP.MovePage(8); // new position of selected page SelectPage determs the page you want to deal with (normaly drawing and so on). Movepage moves the page to the new location. There should only one small question be: is 7 or 8 the right value? Try it and see! Cheers, Werner |
|
![]() |
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