I am generating pdf's using iTextSharp dll.I need to put watermark on every page generated.
how can I add watermark to the pdf generated using iTextsharp dll?
Any assistance would be appreciated...


You can use PdfContentByte to do what you want.
To add text water mark, you can use PdfContentByte.ShowTextAligned()
And to image water mark, you can use PdfContentByte.AddImage()

In my own project I used leadtools because I needed some advanced PDF and imaging features which I didn't find in iTextSharp library.

This article has been dead for over six months. Start a new discussion instead.