I am using the PageEvent as described in the iText book 2nd ed. I think the book says that the art box is initialized to the value of the crop box which is initialized to the media box when the page size is defined in the document. But I get a null rect in the page event:
Rectangle rect = writer.getBoxSize("art"); Is the art box supposed to have a default value? Thanks Fred ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/