Print Page | Close Window

Relative Coordinates

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=2955
Printed Date: 05 May 24 at 6:18AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Relative Coordinates
Posted By: hrdware
Subject: Relative Coordinates
Date Posted: 13 Aug 14 at 6:08PM
I am adding PDF as a print option for some items, but the PDF is printing higher on the page than the other output.  Is there a way I can increase the top margin of the PDF so my print locations will be relative to the new margin?

For example, instead of positioning from 0,0 (top right) I want the coordinates to be relative to (0,30).



Replies:
Posted By: AndrewC
Date Posted: 15 Aug 14 at 10:18AM
hrdware,

AddPageMatrix should be helpful.  If you are using existing PDF's then you may need to call QP.NormalizePage(0); to reset the page matrix to default before adding text or calling AddPageMatrixc.

Andrew.



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