Do you own a Debenu Quick PDF Library 12/11/10/9/8/7? Upgrade to Debenu Quick PDF Library 13!

Foxit Quick PDF Library

Frequently Asked Question:

Return to FAQ Index

Merge two pdf’s with 1.5 page to 3 page

Question

Is it possible to merge 2 pdf files with the following attribute: Each pdf File has 1.5 page. Now I want as result one pdf file with 3 page. I have found the "normal" merge. But then, I have 4 page.

Answer

It is possible to capture only a specified area of a page and then draw that area onto a new page using the CapturePageEx and DrawCapturedPage functions. This would be a required part of the process if you wanted to merge two documents, but only 1.5 pages from each document.

So in this scenario, I suggest that you merge your two documents together using either MergeDocument or MergeFileList, then add a new page to the end of the document, then capture the two halves of the half pages that you want to keep and draw them onto the new page. Once that's been done you can delete the pages that are no longer required.

There are a few steps required, but it's necessary because taking only a particular section of a page and merging it with another section from a different page isn't that easy.


© 2015 Debenu & Foxit. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum