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...

Abhishek

Hi,

Have you tried the TextSharp website?

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.