By Date: <-- -->
By Thread: <-- -->

delete chunk of a pdf page



Great idea about the cropbox, it does suit my needs, but I had a funny thing happen when I tried to print the document, the page that I modified the crop box on was rotated to landscape from portrait, since the printable area became 8.5in by 5.5in instead of 8.5in by 11in.  If I changed the "auto-rotate and center" checkbox in the pop-up printing options it printed properly, but then I lose the rotations on the pages that are supposed to be.  I was using PdfWriter instead of PdfStamper, would that make the difference?  Thanks again for your help, and if you had any more thoughts about what I can do with the rotation issue, I would be grateful to hear them.

All the best,

Brendan

> Date: Tue, 30 Jan 2007 09:26:54 +0100
> From: bruno (at) lowagie.com
> To: itext-questions (at) lists.sourceforge.net
> Subject: Re: [iText-questions] delete chunk of a pdf page
>
> Brendan Graves wrote:
> > Hi there,
> >
> > I was wondering if anyone had any good ideas of how to go about removing
> > all objects (graphics, images, text) below a given y co-ordinate on a
> > single page of an existing pdf using itext?
>
> Remove all objects, as in physically removing them
> from the FILE, is very hard, if not impossible (in
> general, not limited to iText).
>
> Remove all objects, as in making them INVISIBLE in
> the DOCUMENT, is relatively easy, and can be done
> in different ways.
>
> I think changing the CROPBOX (with PdfStamper, there
> was an example on the list a few days ago) of that
> specific page would be the best solution.
>
> br,
> Bruno
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> iText-questions mailing list
> iText-questions (at) lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/


Live Search: New search found Try it!
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/