Subhrajyoti Moitra wrote: > So lets say I have document of A4 size with contents well below the margin. > If I make my media box larger, than this, still the contents would be > starting off from (0,0) of the new coordinate system?
Yes, but nobody obliges you to resize the mediabox like this: [ 0 0 w h'] with h' = h + dh You can also resize your mediabox like this: [ 0 h1 w h2 ] with h1 = 0 - dh / 2 and h2 = h + dh / 2 Assuming that w is the width of the page, h the height and dh the difference in height. Read: http://tinyurl.com/c6w5ml > "Yes, it would be much easier if you made the MediaBox larger." This i > am doing this currently, but cant seem to notice any effect on the > resulting document. > I took the code from link given in this thread before. Is there a crop box in your PDF? -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ 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
