Click here to Skip to main content
15,849,406 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have code to insert watermark text in pdf using but i want to insert watermark image in my pdf file help me pls....

You have to use itextsharp.dll for in ..
Here is some example for applying watermark in pdf.

iTextSharp.text.Image img = iTextSharp.text.Image.GetInstance(WatermarkLocation);
    img.SetAbsolutePosition(125, 300); // set the position in the document where you want the watermark to appear (0,0 = bottom left corner of the page)

    PdfContentByte waterMark;
    for (int page = 1; page <= pdfReader.NumberOfPages; page++)
        waterMark = stamp.GetOverContent(page);

You can follow below link for more details[^][^][^]

Share this answer
ManiTamilan 20-Aug-15 2:59am    
thank u..
Share this answer
ManiTamilan 20-Aug-15 2:57am    
thank u..
Most welcome. Please accept the answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900