Dean Krueger wrote:
> Hi.
>  I am trying to add 36pts on all 4 sides of a PDF, basically enlarging
> it. I figured out how to do it with a PdfWriter, but because this PDF
> has PDF/X-4 data in it I need to use a PdfStamper. I cant figure out
> how to get the PdfStamper data on to a new document, which has the
> enlarged size. Can anyone show me how to do this?

Change the mediabox.
Disentangle the following example for inspiration:
http://1t3xt.info/examples/browse/?page=toc&id=367
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to