1.11M Members

watermark in pdf using iTextSharp

 
0
 

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

 
0
 

Hi,

Have you tried the TextSharp website?

 
0
 

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.

You
Post:
Start New Discussion
Tags Related to this Article