Re: [iText-questions] setting margin has no effect

2009-08-03 Thread 1T3XT info
Elmar Stellnberger wrote: > I would like to add a gutter to an existing document, but if I apply > setMargins it has no effect Of course not. That only works when you create a document from scratch. You could change the MediaBox and/or CropBox: see http://1t3xt.be/?X421 -- This answer is provided

[iText-questions] setting margin has no effect

2009-08-03 Thread Elmar Stellnberger
I would like to add a gutter to an existing document, but if I apply setMargins it has no effect (do not want to use MirrorMargins). Can anybody tell me what is wrong about the following source? int gutter = (int)( 5 *72 / 25.4 ); left = (int)(0.333 * 72); right = left; top = (int)(0.5 *