You have to use JavaScript.  If you don't like the standard alert, create a 
custom dialog using the jsADM APIs.

From: Anu Padki [mailto:[email protected]]
Sent: Monday, July 06, 2009 1:34 PM
To: [email protected]
Subject: [iText-questions] how to Display message at open document

Hello All,

I want to display a message as soon as a document is opened.
I tried javascript, but I don't like the alert box looks.
What would be the cleanest solution to display a message, a line or so, as soon 
as the doc is opened.
I really appreciate your help.
- Anu

________________________________
The information transmitted in this email and any of its attachments is 
intended only for the person or entity to which it is addressed and may contain 
Cablevision proprietary information, which is privileged, confidential, or 
subject to copyright belonging to Cablevision. Any review, retransmission, 
dissemination or other use of, or taking of any action in reliance upon, this 
information by persons or entities other than the intended recipient is 
prohibited and may be unlawful. If you received this in error, please contact 
the sender immediately and delete and destroy the communication and all of the 
attachments you have received and all copies thereof.
________________________________
------------------------------------------------------------------------------
_______________________________________________
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to