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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - MovePage ??
  FAQ FAQ  Forum Search   Register Register  Login Login

MovePage ??

 Post Reply Post Reply
Author
Message
hawkmaster View Drop Down
Beginner
Beginner


Joined: 01 Apr 12
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote hawkmaster Quote  Post ReplyReply Direct Link To This Post Topic: MovePage ??
    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
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3529
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 06 Apr 12 at 7:58PM
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
Back to Top
hawkmaster View Drop Down
Beginner
Beginner


Joined: 01 Apr 12
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote hawkmaster Quote  Post ReplyReply Direct Link To This Post Posted: 07 Apr 12 at 2:31PM
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
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3529
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 07 Apr 12 at 5:13PM
Try the selectpage-function then you'll get the id of the page
and with this id you're doing the move.
Back to Top
edvoigt View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 Mar 11
Location: Berlin, Germany
Status: Offline
Points: 111
Post Options Post Options   Thanks (0) Thanks(0)   Quote edvoigt Quote  Post ReplyReply Direct Link To This Post Posted: 08 Apr 12 at 10:36AM
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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store