Print Page | Close Window

Margins when adding new 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=2493
Printed Date: 21 Apr 26 at 4:14AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Margins when adding new page
Posted By: toran
Subject: Margins when adding new page
Date Posted: 18 Jan 13 at 3:22PM
I have existing PDF document to which I am adding the page. I need to add some text to the page and position it at the same left offset as the text in the existing pages.
I understand that PDF does not have the notion of margins, but:

Is it possible to determine the offset of the existing text from left and top edges of the existing page?



Replies:
Posted By: Ingo
Date Posted: 18 Jan 13 at 5:57PM
Hi Toran!

With option 3 you can do textextraction with position- and font-data of the textcontent.
Then you only need to compare these data with width and height of the complete page.

Cheers, 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