Please disregard my previous questions. managed to work them out.
 
I have currently added a text field to cover certain pages, using the below 
syntax.
 
contentByte.drawTextField(rect.getBottom(), rect.getLeft(), rect.getRight(), 
rect.getTop());
 
How do I add some text to show up in the above TextField. The below dosesnt 
seem to work:
contentByte.showTextAligned(Element.
 
also, how do I tirgger making this OCG invisible based on some user action? Im 
thinking 
it will have to be javascript. but how do I embed the javascript in the doc at 
the time it is 
created. Can I do that using itext?
 
CheersALIGN_CENTER, "Do you see me?", 50, 790, 0);
------------------------------------------------------------------------------
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

Reply via email to