morsi wrote:
Dim Mywatermark As New
Watermark(Image.GetInstance(Config.RepertoireApplication &
"RessourcesEtats\demo.png"), 10, 10)
_Doc.Add(Mywatermark)
Watermark has been removed from iText for quite a while now.
You must be using an old version of iTextSharp.
I didn't find on documentation how to add a watermark UNDER PdfPTable
See example PageNumbersWatermark here:
http://itextdocs.lowagie.com/tutorial/directcontent/pageevents/index.php#examples
Or in the book:
http://itext.ugent.be/itext-in-action/chapter.php?chapter=14
http://itext.ugent.be/itext-in-action/examples/chapter14/WatermarkExample.java
http://itext.ugent.be/itext-in-action/examples/chapter14/results/watermarks.pdf
Note that you need getDirectContentUnder instead of getDirectContent
(the former adds stuff under the existing content; the latter above the content).

br,
Bruno

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to