Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Margins when adding new page
  FAQ FAQ  Forum Search   Register Register  Login Login

Margins when adding new page

 Post Reply Post Reply
Author
Message
toran View Drop Down
Beginner
Beginner


Joined: 20 Feb 12
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote toran Quote  Post ReplyReply Direct Link To This Post Topic: Margins when adding new page
    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?
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post 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


Edited by Ingo - 18 Jan 13 at 5:58PM
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store