On 26/09/2011 15:55, Sailesh K wrote:
Hi,
Ive been trying to add an OCG over speicific page(s) whose contents I
want to hide
by adding a blue rectangle layer over it. For some reason, the code
seems to end up
with an unopenable pdf. any pointers?
You're using syntax to add a PdfLayer to a PDF created from scratch.
If you want to add a PdfLayer to an existing PDF, you need a different
approach.
I've searched my hard drive for an example, but I couldn't find one,
and I don't have the time to make you an example right now.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
iText-questions mailing list
[email protected]
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