I tried that but it didn't work. After looking at the headers_and_watermarksexample, I tried using events and it seems to work now. Why would using events(onStartPage) work when the other method didn't?
-- Original message -- > Put the setGState() outside the beginText(
8:28 PM
Subject: RE: [iText-questions] Watermark problem in Acrobat 5
> I tried that but it didn't work. After looking at the
headers_and_watermarks
> example, I tried using events and it seems to work now. Why would using
events
> (onStartPage) work when the other
Put the setGState() outside the beginText()/endText(). It may also be a
problem with Acrobat 5 that has some problems with opacity.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of John
> Sent: Friday, February 04, 2005 4:58 AM
> To: itext-questions