![]() |
Add WaterMark In PDF Files
Code:
Private Sub btnAddWaterMark_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAddWaterMark.Click |
Re: Add WaterMark In PDF Files
Nice one buddy, I have used similar one in my project.
|
Re: Add WaterMark In PDF Files
I don't understand the logic but Naimish and arithforu looks same same users only seeing this.
|
Re: Add WaterMark In PDF Files
|
Re: Add WaterMark In PDF Files
Quote:
http://www.go4expert.com/showthread.php?t=18246 |
Re: Add WaterMark In PDF Files
Yes, Naimish and arithforu are the same users as me, I had problem while registering on the site, so I created naimish, after which arithforu worked fine, so posted it, on next naimish's account started working fine, so decided not to use arithforu and to use naimish as my proflie.
About http://forums.asp.net/p/1348029/2744846.aspx Please see that that topic has been posted by me only, my username there is naimish only. This code has been developed by me only in my project, if someone wants clarification can contact me for ruther details. Thanks. |
Re: Add WaterMark In PDF Files
Moved to Articles section and also try using only one account as use of 2 accounts simultaneously is not allowed.
|
Re: Add WaterMark In PDF Files
Yes, as I said, I have decided to use naimish instead of arithforu, you can delete arithforu if you want. Thanks.
|
Re: Add WaterMark In PDF Files
Yes, I saw your name on ASP.NET site but didn't notice on MSDN Forum :)
btw, I didn't knew about this iTestsharp. Now I can use it in my application. haha Thanks:2thumbsup |
Re: Add WaterMark In PDF Files
Welcome Buddy, nice to see your positive reply. Thanks a lot. Please also check out my new article, which I am going to write now on, Add Password In PDF :)
|
Re: Add WaterMark In PDF Files
Posting Done, Waiting for approval, please have a look once it got approved :)
|
Re: Add WaterMark In PDF Files
Quote:
|
Re: Add WaterMark In PDF Files
Yeah, Seen It, Thank you very much for approving it :)
|
Re: Add WaterMark In PDF Files
Nomination for article of the month - Jun 2009 Started. Nominate this article for Article of the month - Jun 2009
|
Re: Add WaterMark In PDF Files
Ohh, Thanks Shabbir :)
|
Re: Add WaterMark In PDF Files
Please check out my new article on Add Text WaterMark In PDF Files :D
|
Re: Add WaterMark In PDF Files
i have ude this code in my page .
page run but watermark is not added in pdf. please help m. my code PdfReader pdfReader = new PdfReader(Server.MapPath("321.pdf")); PdfStamper stamp = new PdfStamper(pdfReader, new System.IO.FileStream(Server.MapPath("watermark.pdf "), System.IO.FileMode.Create)); iTextSharp.text.Image img = iTextSharp.text.Image.GetInstance(Server.MapPath(" AIPL-watermark.jpg")); img.SetAbsolutePosition(100, 100); for (int j = 1; j < pdfReader.NumberOfPages; j++) { PdfContentByte waterMark = stamp.GetUnderContent(1); waterMark.AddImage(img); } stamp.FormFlattening = true; stamp.Close(); pdfReader.Close(); |
Re: Add WaterMark In PDF Files
hey mate great code, I wanted to use it in one of project that creates reports of user tracking data with company name as the watermark on the report.
|
Re: Add WaterMark In PDF Files
It was completely new for me and I loved learning this new technique. I am goint to try this for sure. Thanks for sharing such nice resource.
|
Re: Add WaterMark In PDF Files
I have decided to use naimish instead of arithforu, you can delete arithforu if you want.
|
| All times are GMT +5.5. The time now is 19:28. |