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!
![]() |
Margins when adding new page |
Post Reply
|
| Author | |
toran
Beginner
Joined: 20 Feb 12 Status: Offline Points: 14 |
Post Options
Thanks(0)
Quote Reply
Topic: Margins when adding new pagePosted: 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?
|
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store