Print Page | Close Window

DA Capture Page

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


Topic: DA Capture Page
Posted By: BenOve
Subject: DA Capture Page
Date Posted: 30 Oct 15 at 12:14PM
To capture and draw in DA mode, you need two page ID's  , one for the source page and one for the target page. Suppose you capture page one and draw it on page 1000

 nID              := oPDF:DAFindPage(nHAND, 1 )
 nID_target  := oPDF:DAFindPage(nHAND, 1000)

If these two lines are repeated , the ID's become something different
And most other function calls like DAGetPageCount()   keeps changing the ID,
especially for page 1
For this reason I am not sure that  I am using the right ID's for capture -draw,
even after a very few lines of code.

Could anybody explain  why   there is not a fixed ID for each page ?








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