Print Page | Close Window

next problem: Crop/Mediabox and Origin

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=472
Printed Date: 19 May 24 at 3:53AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: next problem: Crop/Mediabox and Origin
Posted By: ukobsa
Subject: next problem: Crop/Mediabox and Origin
Date Posted: 21 Jul 06 at 3:12AM
Hi,

I think there's a problem with CropBox/MediaBox and origin:

I have a document with [Left, Top, Right, Bottom] CropBox = (0, 842, 595, 0) and MediaBox = (82.5, 757, 512.5, 97) and Origin = 0 (Bottom Left). So the media box is fully contained in the cropbox.

Now I set the origin to 1 (Top Left)
Then I get:
CropBox=(0, -182, 595, 660) and MediaBox=(82.5, -97, 512.5, 563)

For me this makes no sense.
I would have expected
CropBox=(0, 0, 595, 842) and MediaBox=(82.5, 85, 512.5, 745)

Am I thinking wrong? Or is this a bug?

greetings,
Ulrich



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