Thanks for your reply. but i'm new to itextsharp. can you please give me a code 
sample for DirectContentOver.
I didn't find any property in PdfWriter such as DirectContentOver. 

Thanks.




________________________________
 From: 1T3XT BVBA <i...@1t3xt.info>
To: Post all your questions about iText here 
<itext-questions@lists.sourceforge.net> 
Sent: Saturday, January 26, 2013 5:08 PM
Subject: Re: [iText-questions] Issue with Watermark in PDF
 
On 26/01/2013 12:29, salaja m wrote:
> PdfContentByte under = writer.DirectContentUnder;
This is the culprit! You need DirectContentOver.
If you're worried that the watermark will cover the existing content, 
make it slightly transparent.
If you are asking for a watermark that is visible after adding it UNDER 
an OPAQUE surface, please use your common sense.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to