Print Page | Close Window

Drawing lines on a 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=1568
Printed Date: 04 Apr 26 at 10:24AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Drawing lines on a page
Posted By: dpbouchard
Subject: Drawing lines on a page
Date Posted: 13 Sep 10 at 4:04AM
Newbie, sorry.  I need to process each page of a PDF document and for pages 1 -> n-1, I need to add a particular set of lines and on the last page, I need to add a different set of lines. I'm using the DLL interface thru VB 2010.  I'm looking at the DrawLine method and it has no argument that identifies upon what the line is to be drawn save for the instance ID which is hidden if you use the QB calls.  Moreover, the instance ID I thought was the instance of the PDF document, not a particular page.  Any thoughts on how I could get started with this?
 
Thanks,
Don Bouchard



Replies:
Posted By: Ingo
Date Posted: 13 Sep 10 at 7:03AM
Hi Don!

First you should use PageCount to get the total number of pages.
Then you should use a loop starting each one with SelectPage(...) to go one page forward or to change the page.

Cheers and welcome here,
Ingo




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