Op 20/02/2011 18:25, Shravan schreef:
Am new to iText! Thanks for the info. But if this is the situation, it is a tougher thing, because, the original PDF is created very differently like itself is a merging of few other PDFs, some pages are inserted in between, uses FlyingSaucer to generate some pages and so on...

So, it would be if there is any different way I can achieve this?
PDF is not a format for editing, so you shouldn't expect that changing the margins will cause the content to "reflow". However, you can change the MediaBox and/or CropBox of every page if you want to play with the margins.
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to