Corina Kertesz wrote:
>     The actions that I want to disable/enable are either local goto actions
> or they execute javascripts that open dialogs. 
>     I am using them in a drawing and they run when clicking on rectangular
> areas. They are all added to the document by using PdfContentByte or
> templates using setAction().   
>     Other actions would be those that change the state of the layers in the
> page. I would use PdfAction.setOCGstate() here. These actions would also run
> when clicking on a rectangle in my drawing. Here is where I want to also
> disable the actions added in other layers.

As Leonard said: you need to read the documentation. For instance 
section 12.3.6 "Optional content in XObjects and annotations" in the 
book "iText in Action". Or if you think buying a book is too expensive:
http://1t3xt.be/?X00000a
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to