<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Debenu Quick PDF Library - PDF SDK Community Forum : Add Watermark behind PDF Text</title>
  <link>http://www.quickpdf.org/forum/</link>
  <description><![CDATA[This is an XML content feed of; Debenu Quick PDF Library - PDF SDK Community Forum : I need help - I can help : Add Watermark behind PDF Text]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 01 May 2026 09:25:48 +0000</pubDate>
  <lastBuildDate>Tue, 24 Mar 2015 05:33:43 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.01</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.quickpdf.org/forum/RSS_post_feed.asp?TID=2672</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Debenu Quick PDF Library - PDF SDK Community Forum]]></title>
   <url>http://www.quickpdf.org/forum/forum_images/QPDF_Forum_Title.png</url>
   <link>http://www.quickpdf.org/forum/</link>
  </image>
  <item>
   <title><![CDATA[Add Watermark behind PDF Text :  Hi Friends,  To add watermark...]]></title>
   <link>http://www.quickpdf.org/forum/add-watermark-behind-pdf-text_topic2672_post12407.html#12407</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2716">lucy142</a><br /><strong>Subject:</strong> 2672<br /><strong>Posted:</strong> 24 Mar 15 at 5:33AM<br /><br /><p ="Ms&#111;normal">&nbsp;Hi Friends,<br></p><p ="Ms&#111;normal">To add watermark behind pdf text you can go with thisperfect <b>PDF watermark for mac software solution </b><span style="mso-bidi-font-weight:  bold">to add<b> </b></span>text<span style="mso-bidi-font-weight:bold">/imagewatermark to every page of a PDF file or behind PDF Text. It facilities youwith the <b>realtime preview output effect,</b></span> <b>Batch watermark PDFfiles like amazing features.<img src="http://www.quickpdf.org/forum/smileys/smiley2.gif" border="0" alt="Wink" title="Wink" />&nbsp;<br></b></p><p ="Ms&#111;normal"><b> </b>For any information about this software you can visit to this link:</p><p ="Ms&#111;normal">http://www.completepdfsolultions.com/pdf-watermark-mac.php<b></b></p>]]>
   </description>
   <pubDate>Tue, 24 Mar 2015 05:33:43 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/add-watermark-behind-pdf-text_topic2672_post12407.html#12407</guid>
  </item> 
  <item>
   <title><![CDATA[Add Watermark behind PDF Text : Hi Mat, Yes I did try that, but...]]></title>
   <link>http://www.quickpdf.org/forum/add-watermark-behind-pdf-text_topic2672_post11591.html#11591</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2357">chrisreed</a><br /><strong>Subject:</strong> 2672<br /><strong>Posted:</strong> 01 Apr 14 at 5:24AM<br /><br />Hi Mat,<DIV>Yes I did try that, but its a Catch-22 situation.&nbsp; I needed to make the Watermark transparent enough so I can still see the text/images behind it, but not too transparent that the Watermark is hard to read.</DIV><DIV>&nbsp;</DIV><DIV>I could not find a suitable compromise between these two conflicting requirements which is why it MUST be placed behind the text/images.</DIV><DIV>&nbsp;</DIV><DIV>Chris</DIV>]]>
   </description>
   <pubDate>Tue, 01 Apr 2014 05:24:51 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/add-watermark-behind-pdf-text_topic2672_post11591.html#11591</guid>
  </item> 
  <item>
   <title><![CDATA[Add Watermark behind PDF Text : I wonder can you achieve similar...]]></title>
   <link>http://www.quickpdf.org/forum/add-watermark-behind-pdf-text_topic2672_post11590.html#11590</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2149">mat miller</a><br /><strong>Subject:</strong> 2672<br /><strong>Posted:</strong> 01 Apr 14 at 4:38AM<br /><br />I wonder can you achieve similar effect by adjusting the watermark transparency.<br><br><a href="http://www.quickpdf.org/forum/watermark_topic230.html" rel="nofollow">http://www.quickpdf.org/forum/watermark_topic230.html</a><br><a href="http://stackoverflow.com/questi&#111;ns/2913934/how-i-can-add-watermark-to-existing-pdf-file-using-php913934/use-php-how-i-can-add-" target="_blank" rel="nofollow">http://stackoverflow.com/questions/2913934/use-php-how-i-can-add-</a><a href="http://www.rasteredge.com/how-to/vb-net-imaging/pdf-watermark-creating/" target="_blank" rel="nofollow">watermark-to-pdf</a><br>]]>
   </description>
   <pubDate>Tue, 01 Apr 2014 04:38:11 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/add-watermark-behind-pdf-text_topic2672_post11590.html#11590</guid>
  </item> 
  <item>
   <title><![CDATA[Add Watermark behind PDF Text : As Andrew mentioned in his previous...]]></title>
   <link>http://www.quickpdf.org/forum/add-watermark-behind-pdf-text_topic2672_post10979.html#10979</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2357">chrisreed</a><br /><strong>Subject:</strong> 2672<br /><strong>Posted:</strong> 24 Jun 13 at 9:21AM<br /><br />As Andrew mentioned in his previous post, the reason it wasn't working was that the first command in the PDF File was to draw a white rectangle.<DIV>&nbsp;</DIV><DIV>This can be found using GetPageContentToString (or GetPageContentToVariant - ActiveX version) and you will see something like this at the top of the file.</DIV><DIV>&nbsp;</DIV><DIV><P style="MARGIN: 0cm 1.4pt 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: Verdana; COLOR: black; FONT-SIZE: 9pt">1 g&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// select White - <?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P><P style="MARGIN: 0cm 1.4pt 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: Verdana; COLOR: black; FONT-SIZE: 9pt">0 2.66797 4956 7014 re // create a rectangle<o:p></o:p></SPAN></P><P style="MARGIN: 0cm 1.4pt 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: Verdana; COLOR: black; FONT-SIZE: 9pt">f&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // fill the rectangle with the white pen</P><DIV></DIV><DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>And the reason for this was I was printing the PDF indirectly&nbsp;through a Web-based application and not directly through the PDFCreator application.</DIV><DIV>&nbsp;</DIV><DIV>Chris</SPAN></DIV></DIV>]]>
   </description>
   <pubDate>Mon, 24 Jun 2013 09:21:58 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/add-watermark-behind-pdf-text_topic2672_post10979.html#10979</guid>
  </item> 
  <item>
   <title><![CDATA[Add Watermark behind PDF Text : Ha! Ha! That&amp;#039;s the exact...]]></title>
   <link>http://www.quickpdf.org/forum/add-watermark-behind-pdf-text_topic2672_post10966.html#10966</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2357">chrisreed</a><br /><strong>Subject:</strong> 2672<br /><strong>Posted:</strong> 20 Jun 13 at 7:41AM<br /><br />Ha! Ha! That's the exact same link I mentioned above <img src="http://www.quickpdf.org/forum/smileys/smiley17.gif" height="17" width="17" border="0" alt="T&#111;ngue" title="T&#111;ngue" />&nbsp; My code is based on your example Andrew - it sort of worked for some PDF's but not for others (see my code below).<DIV>&nbsp;</DIV><DIV><DIV><a href="http://s20.postimg.org/opmbe9yq5/Code_to_Move_Watermark_to_Back.png" target="_blank">http://s20.postimg.org/opmbe9yq5/Code_to_Move_Watermark_to_Back.png</A></DIV><DIV>&nbsp;</DIV></DIV><DIV>If I converted a Word document into a PDF using PDF Creator it worked, however if I used a PDF created from a hospital application and moved it to Stream 1, the watermark didn't even appear!!</DIV><DIV>&nbsp;</DIV><DIV>If I moved it to Stream 2, the Watermark appeared in both PDF's but always infront of the text.</DIV><DIV>&nbsp;</DIV><DIV>In both cases the ContentStreamCount was three.&nbsp; How do I tell if the first command is to draw and fill a white rectangle - could that be the issue?</DIV><DIV>&nbsp;</DIV><DIV>Unfortunately I can't attach the problematic PDF report because it has patient information on it.</DIV><DIV>&nbsp;</DIV><DIV>Chris</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 20 Jun 2013 07:41:39 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/add-watermark-behind-pdf-text_topic2672_post10966.html#10966</guid>
  </item> 
  <item>
   <title><![CDATA[Add Watermark behind PDF Text : You could try something along...]]></title>
   <link>http://www.quickpdf.org/forum/add-watermark-behind-pdf-text_topic2672_post10964.html#10964</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2672<br /><strong>Posted:</strong> 20 Jun 13 at 4:22AM<br /><br /><div style=": rgb251, 251, 253;">You could try something along the lines of the following which I have adapted from&nbsp;<a href="http://www.quickpdf.org/forum/inserting-text-behind-existing-text_topic2570_post10615.html?KW=behind+text#10615" target="_blank">http://www.quickpdf.org/forum/inserting-text-behind-existing-text_topic2570_post10615.html?KW=behind+text#10615</a></div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; &nbsp;QP.LoadFromFile (...</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp;QP.SelectPage(1);</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp;int cs = NewContentStream();</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; &nbsp;QP.SetOrigin(1);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; &nbsp;int img = QP.AddImageFromFile("myimage.png", 0);</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp;QP.DrawImage(0,0,QP.PageWidth(), QP.PageHeight();</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; &nbsp;QP.MoveContentStream(cs, 1);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; &nbsp;QP.SaveToFile("newfile.pdf");</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">Moving the content stream with the image to content stream 1 will mean that the image is draw first and that any test or other logos will be drawn on top.</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">Whether this approach works or not will depend on how the PDF is created. &nbsp;If the first command of the PDF is to draw and fill a white rectangle the same size as the page then this approach will not work.<div><br></div><div>If this doesn't work then you will need to post some code so we can understand what is and isn't working.</div><div><br></div></div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">Andrew</div>]]>
   </description>
   <pubDate>Thu, 20 Jun 2013 04:22:23 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/add-watermark-behind-pdf-text_topic2672_post10964.html#10964</guid>
  </item> 
  <item>
   <title><![CDATA[Add Watermark behind PDF Text :   Can my issue be solved using...]]></title>
   <link>http://www.quickpdf.org/forum/add-watermark-behind-pdf-text_topic2672_post10960.html#10960</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 2672<br /><strong>Posted:</strong> 19 Jun 13 at 10:29AM<br /><br /><p>Can my issue be solved using ContentStreams?</p><p>Hi Chris!</p><p>That's what i told.<br>But you should try - seems here in the user forum there's nobody doing this before.<br>If you want to post new user ideas/-requests you should go onto the official pages (have a click on the logo at the top, left).<br>BTW: Creating a new document there's always one blank page and one layer/contentgroup.</p><p>Cheers, Ingo</p><p>&nbsp;</p><div></div><div></div>]]>
   </description>
   <pubDate>Wed, 19 Jun 2013 10:29:50 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/add-watermark-behind-pdf-text_topic2672_post10960.html#10960</guid>
  </item> 
  <item>
   <title><![CDATA[Add Watermark behind PDF Text :  Hi again, There was a post...]]></title>
   <link>http://www.quickpdf.org/forum/add-watermark-behind-pdf-text_topic2672_post10959.html#10959</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2357">chrisreed</a><br /><strong>Subject:</strong> 2672<br /><strong>Posted:</strong> 19 Jun 13 at 5:27AM<br /><br /><DIV></DIV><DIV>Hi again,</DIV><DIV>There was a post that explained how to insert text behind text using Streams (see link) which I thought I could use with&nbsp;my Watermark issue.</DIV><DIV>&nbsp;</DIV><DIV><a href="http://www.quickpdf.org/forum/inserting-text-behind-existing-text_topic2570_post10615.html?KW=behind+text#10615" target="_blank">http://www.quickpdf.org/forum/inserting-text-behind-existing-text_topic2570_post10615.html?KW=behind+text#10615</A></DIV><DIV>&nbsp;</DIV><DIV>My original PDF seemed to have two ContentStreams and I created a NewContentStream (No. 3) added the image and then used the MoveContentStream function to move it from Stream 3 to Stream 1.&nbsp; But it didn't matter what streams I moved around or where I added the image (before or after a NewStream was created) the watermark&nbsp;always appeared on top of the original text.</DIV><DIV>&nbsp;</DIV><DIV>Can my issue be solved using ContentStreams?</DIV><DIV>&nbsp;</DIV><DIV>Chris</DIV>]]>
   </description>
   <pubDate>Wed, 19 Jun 2013 05:27:29 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/add-watermark-behind-pdf-text_topic2672_post10959.html#10959</guid>
  </item> 
  <item>
   <title><![CDATA[Add Watermark behind PDF Text : Damn. I was hoping there was a...]]></title>
   <link>http://www.quickpdf.org/forum/add-watermark-behind-pdf-text_topic2672_post10958.html#10958</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2357">chrisreed</a><br /><strong>Subject:</strong> 2672<br /><strong>Posted:</strong> 19 Jun 13 at 2:26AM<br /><br />Damn.&nbsp; I was hoping there was a Method like "Appear Behind Text" or something similar.<DIV>How do I put in request for a Method like this be added to the next version as I feel it is a very useful feature for things like Watermarks.</DIV><DIV>&nbsp;</DIV><DIV>As for adding more transparency I'm in a Catch-22 situation.&nbsp; I have to add more transparency so I can see the text behind the watermark, but if I make it too transparent then the Watermark does not come out if the report is photocopied - maybe I can get away with a happy compromise.</DIV><DIV>&nbsp;</DIV><DIV>Thanks Ingo for the reply.</DIV>]]>
   </description>
   <pubDate>Wed, 19 Jun 2013 02:26:41 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/add-watermark-behind-pdf-text_topic2672_post10958.html#10958</guid>
  </item> 
  <item>
   <title><![CDATA[Add Watermark behind PDF Text :   Hi Chris!That&amp;#039;s heavy...]]></title>
   <link>http://www.quickpdf.org/forum/add-watermark-behind-pdf-text_topic2672_post10955.html#10955</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 2672<br /><strong>Posted:</strong> 18 Jun 13 at 10:34AM<br /><br />Hi Chris!<div>&nbsp;</div><div>That's heavy stuff!</div><div>There's no sample here.</div><div>You should read about layers and (optional) content groups in the reference.</div><div>You have to recreate the whole document for this (taking the layers away... drawing the watermark... then the layers back... puuuuh :)</div><div>Nearly the same and much easier it is to put a bit more transparency to the watermark ;-)</div><div>&nbsp;</div><div>Cheers, Ingo</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Tue, 18 Jun 2013 10:34:45 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/add-watermark-behind-pdf-text_topic2672_post10955.html#10955</guid>
  </item> 
 </channel>
</rss>