public void onEndPage(PdfWriter writer, Document document) {
    writer.getDirectContentUnder().addImage(...);
}

----- Original Message ----- 
From: "MK Lee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 22, 2003 5:20
Subject: [iText-questions] Watermark problem


> Hi,
> 
>     I tried to insert a watermark with :
>   public void onEndPage(PdfWriter writer, Document document) {
>    System.out.println("end added" + doc.add(page.waterMark) + ":" +
> page.waterMark.offsetX() + " x " + page.waterMark.offsetY());
>   }
> 
> The watermark only appear from the 2nd page onward though I found the
> method
> is triggered and returned true on every page, including the 1st. Why is
> that? How can I make the watermark appear on 1st page as well.
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
> same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to