1,105,416 Community Members

watermark in pdf using iTextSharp

Member Avatar
Abhishek_12
Newbie Poster
3 posts since Oct 2013
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
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

Member Avatar
G_Waddell
Practically a Posting Shark
821 posts since Nov 2009
Reputation Points: 131 [?]
Q&As Helped to Solve: 137 [?]
Skill Endorsements: 13 [?]
 
0
 

Hi,

Have you tried the TextSharp website?

Member Avatar
Jacob_Shriver
Newbie Poster
1 post since Mar 2014
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
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