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 - Q: Meaning of Origin
  FAQ FAQ  Forum Search   Register Register  Login Login

Q: Meaning of Origin

 Post Reply Post Reply
Author
Message
ukobsa View Drop Down
Senior Member
Senior Member


Joined: 29 May 06
Location: Germany
Status: Offline
Points: 115
Post Options Post Options   Thanks (0) Thanks(0)   Quote ukobsa Quote  Post ReplyReply Direct Link To This Post Topic: Q: Meaning of Origin
    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

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