Paulo Soares wrote:
See
http://itextdocs.lowagie.com/tutorial/directcontent/pageevents/index.htm
l.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Michael Lundin
Sent: Tuesday, January 10, 2006 5:16 PM
To: [email protected]
Subject: [iText-questions] Multiple Watermarks on a document
Is there a good way to add multiple watermarks to a document?
We are looking at
creating documents with one watermark on the first page and
different watermarks
on the second page.
Any help would be appreciated.
Just one extra remark:
write your own PageEvent class as a subclass of PageEventsHelper
and store the watermark Image instances as member-variables.
In onEndPage you can ask the writer for the current page number
and decide what watermark to use based on that number.
br,
Bruno
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions