Title: Resetting or turning off cropbox
That's already supported in itextpdf.sf.net.
 
Best Regards,
Paulo Soares


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Keeley
Sent: Friday, October 01, 2004 3:41 PM
To: [EMAIL PROTECTED]
Subject: [iText-questions] Resetting or turning off cropbox

Would it be possible to change com\lowagie\text\pdf\PdfDocument.java from this   

    void setCropBoxSize(Rectangle crop) {
        cropSize = new Rectangle(crop);
    }

to this?

    void setCropBoxSize(Rectangle crop) {
          if (crop != null)
                cropSize = new Rectangle(crop);
          else
                  cropSize = crop;
    }

That would allow the crop box to be turned back off.  I would try it myself except my company has the CVS ports blocked.

Thanks,
Paul

Reply via email to