Am 13.09.2016 um 18:50 schrieb Jorge Reyes:
Hello:
First time user here. What is the difference between MediaBox and BoundingBox? And when should I use either?

I hadn't heard of the page BBox. This returns the cropBox.

MediaBox:
A rectangle expressed in default user space units, that shall define the boundaries of the physical medium on which the page shall be displayed or printed

CropBox:
A rectangle, expressed in default user space units, that shall define the visible region of default user space. When the page is displayed or printed, its contents shall be clipped (cropped) to this rectangle and then shall be imposed on the output medium in some implementation-defined manner. Default value: the value of MediaBox.

I can't tell what you should use. What do you want to do? For create a PDF, just set the mediabox to the A4 and don't bother about the rest.

Tilman

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to