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!
Q: Meaning of Origin |
Post Reply |
Author | |
ukobsa
Senior Member Joined: 29 May 06 Location: Germany Status: Offline Points: 115 |
Post Options
Thanks(0)
Posted: 19 Sep 06 at 5:28AM |
Hi,
I have a pdf document with some very interesting values for mediabox, artbox and trimbox: /MediaBox [ -90 -216 702 1008 ] /TrimBox [ -90 -216 702 1008 ] /ArtBox [ 0.499 -193.6718 613.2822 970.6782 ] My question is: what is the meaning of Origin in this case? if I start with Origin = poLeftBottom (default) and switch Origin to poLeftTop this results in a mediabox of [-90, 216, 702, 1440] as Top and Bottom are calculated as PageHeight - OriginalTop (OriginalBottom). But this values doesn't make very much sense for me. This calculation only makes sense when mediabox starts with Left = 0 and Bottom = 0, so that the origin is always the according edgepoint of the mediabox. But what to do in the above example. How should box coordinates be calculated when a origin switch occurs? Thanks, Uli |
|
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