On 6/06/2011 15:51, olexiy wrote:
> Here's how I check for wotermark layer (and it seem to work)

OK, so you can meet 2 out of 3 requirements.

> I start to read "iText in Action". Could you tell exactly where in the Book
> can i find example to a technique from your replay or give me a small code
> fragment.

There's no ready-made solution in the book, but in section 13.3.2 you 
can read how to get and manipulate a page dictionary.
Instread of PdfName.CROPBOX (listing 13.8), PdfName.ROTATE (listing 
13.9),... you need PdfName.CONTENTS.
In your case, this should always be an array (because the PDF was 
created with PdfStamper) of which you need to remove the first entry.

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to