Print Page | Close Window

CapturePage

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=210
Printed Date: 03 May 24 at 12:19AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: CapturePage
Posted By: Mike
Subject: CapturePage
Date Posted: 15 Dec 05 at 11:20AM
I'm trying to combine two seperate pdf files and add the combined page to the end of a third pdf. When I capture the page from one pdf then load another it seems to lose the captured page. When I DrawCapturedPage onto the new document it's blank. Is there a way to do this?



Replies:
Posted By: Mike
Date Posted: 15 Dec 05 at 11:45AM
Ok, I figured out a way around it, but now I'm having a formatting problem. After drawing one of the captured pages, which has only a few lines of text in a box, the box draws vertically instead of the horizontal way it is formatted on the page its originally captured from... why is it being rotated when nothing else is?


Posted By: chicks
Date Posted: 15 Dec 05 at 11:50AM
Mike,

IIRC, you can't impose a captured page onto another document. You probably want to look at MergeDocument() and/or CopyPageRanges() to get everything into one document first, then use the Capture... functions rearrange things.

I always have to refer back to the docs when I attempt something like this, being careful to keep track of docIDs, and remembering that the CapturePage... functions remove the page from the document, and change the page counts...



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