Print Page | Close Window

Extract Pages

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3367
Printed Date: 30 Apr 24 at 3:00PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Extract Pages
Posted By: luet
Subject: Extract Pages
Date Posted: 13 Aug 16 at 2:02PM
I would like to add from an existing PDF file several pages to an existing PDF document.
Is there a AddPage function?
Do I need to apply ExtractPage?

Who can help me with a few lines of Source Code?
I use the QuickPDF Library with VB6

thank you
luet



Replies:
Posted By: Ingo
Date Posted: 13 Aug 16 at 8:02PM
Hi Luet,

here's a sample from the official support pages:
http://www.debenu.com/kb/programmatically-insert-pages-from-one-pdf-file-to-another-pdf-file/

In the developer guide there's a sample, too:
http://www.debenu.com/products/development/debenu-pdf-library/help/developer-guide/

A good starting point learning more about the library is here:
http://www.quickpdf.org/

For special functionalities regarding your issue you should read here:
http://www.debenu.com/docs/pdf_library_reference/PageManipulation.php



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



Posted By: luet
Date Posted: 14 Aug 16 at 12:53PM
Hello Ingo,

Thanks for the very good tip.
So I can work.
It's nice that someone is so good help does.
Thank you especially!

luet


Posted By: luet
Date Posted: 15 Aug 16 at 8:36AM
Hello Ingo,

small improvement from my side.
So that the documents are not moved in the wrong order:

While (tPages3 > 0) 

QPdf.SelectPage QPdf.PageCount() - tPages3 + 1
QPdf.MovePage NewPagePos

NewPagePos = NewPagePos + 1

tPages3 = tPages3 - 1
Wend

QPdf.SaveToFile ("Target.pdf")




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