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 - Move a page from one document to another.
  FAQ FAQ  Forum Search   Register Register  Login Login

Move a page from one document to another.

 Post Reply Post Reply
Author
Message
Hbaloo View Drop Down
Beginner
Beginner
Avatar

Joined: 10 Apr 09
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hbaloo Quote  Post ReplyReply Direct Link To This Post Topic: Move a page from one document to another.
    Posted: 06 Sep 09 at 1:18PM
Hy,
I'd like to ask how can i move a page from 1 document to another?
The page contains a full-page image,and nothing else.I tried get-set content but didn't work.
I couldn't find an easy way to do it but I'm sure this is possible.Any help would be great!
Thanks,Hbaloo
Edit:I'm using version 7.15


Edited by Hbaloo - 06 Sep 09 at 1:49PM
Back to Top
DELBEKE View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert
Avatar

Joined: 31 Oct 05
Location: France
Status: Offline
Points: 151
Post Options Post Options   Thanks (0) Thanks(0)   Quote DELBEKE Quote  Post ReplyReply Direct Link To This Post Posted: 06 Sep 09 at 3:07PM
You ca't move a page from one document to an other, but.
You can merge a document into the current one,and you can delete pages in the selected document.
Have a look at the MergeDocument Function


Edited by DELBEKE - 06 Sep 09 at 3:08PM
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 06 Sep 09 at 4:06PM
Hi!

This functions from here:
http://www.quickpdflibrary.com/help/quickpdf/PageManipulation.php
...you should have a look on for what you wanna do:
CopyPageRanges
ExtractPages
ClonePages
CapturePage
MovePage
SelectPage

First you have to select the page.
Now you should save the page-id (result from SelectPage).
Now you have to activate/load the other (the target) pdf-file.
With your page-function and the old page-id now you can insert/append the old page to the new document.

Cheers, Ingo

BTW: I didn't do it 'till now ... but it should work ;-)



Edited by Ingo - 06 Sep 09 at 4:09PM
Back to Top
Hbaloo View Drop Down
Beginner
Beginner
Avatar

Joined: 10 Apr 09
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hbaloo Quote  Post ReplyReply Direct Link To This Post Posted: 06 Sep 09 at 6:26PM
Thank you for your answers!
I found a different solution.Since every page contains 1 picture, and nothing else,i simply copy the pictures.It still needs a little trick but this is what I've one:
Select source document
select image
save image to file
select destination document
load image from file
draw image
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 06 Sep 09 at 6:40PM
Hi!

Why you don't look here:
http://www.quickpdflibrary.com/help/quickpdf/FunctionGroups.php
If you want some functions for rendering:
http://www.quickpdflibrary.com/help/quickpdf/RenderingAndPrinting.php
If you want some functions for image handling:
http://www.quickpdflibrary.com/help/quickpdf/RenderingAndPrinting.php

I've found this one for you:
RenderPageToFile
SelectImage
DrawImage

What you wanna do will work but you'll get loss of quality.
PageCopy-functions are better.

Cheers, Ingo

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