Seems that the 'crop' box is null by default as well. The 'media' box
in initialized.
Thanks
Fred
On Thu, Mar 25, 2010 at 12:08, Fred Janon wrote:
> 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
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 =