<?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 text content and remove later</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 text content and remove later]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 19:33:54 +0000</pubDate>
  <lastBuildDate>Fri, 14 Nov 2014 20:58:44 +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=2991</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 text content and remove later : Why after		$oQP.DeleteContentS...]]></title>
   <link>http://www.quickpdf.org/forum/add-text-content-and-remove-later_topic2991_post12124.html#12124</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2557">mLipok</a><br /><strong>Subject:</strong> 2991<br /><strong>Posted:</strong> 14 Nov 14 at 8:58PM<br /><br /><div><br></div><span style="line-height: 16.7999992370605px;">Why after</span><div><div style="line-height: 16.7999992370605px;"><font color="#0033ff"><span ="Apple-tab-span" style="white-space: pre;">		</span>$oQP.DeleteContentStream()</font></div><div style="line-height: 16.7999992370605px;"><font color="#0033ff"><span ="Apple-tab-span" style="white-space: pre;">		</span>$oQP.SaveToFile('Z:\test.2.pdf')</font></div><div><br></div><div><span style="line-height: 16.7999992370605px;">Z:\test.2.pdf still contain a drawed line ?</span></div><div><span style="line-height: 16.7999992370605px;"><br></span></div><div><span style="line-height: 16.7999992370605px;">And why&nbsp;</span></div><div><div style="line-height: 16.7999992370605px;"><font color="#0033ff"><span ="Apple-tab-span" style="white-space: pre;">		</span>$oQP.SetOrigin(1);</font></div></div><div>do not work in this case ?</div><div><br></div><div>What I'am doing here wrong ?<div><span style="line-height: 1.4;">&nbsp;&nbsp;</span></div><div><div><br></div><div><div><font color="#0033ff"><span ="Apple-tab-span" style="white-space:pre">		</span>$oQP.LoadFromFile("z:\original.pdf", '')</font></div><div><font color="#0033ff"><br></font></div><div><font color="#0033ff"><span ="Apple-tab-span" style="white-space:pre">		</span>$oQP.SetMeasurementUnits($__eQPDF_MUNITS_Milimeters)</font></div><div><font color="#0033ff"><span ="Apple-tab-span" style="white-space:pre">		</span>$oQP.SetOrigin(1);</font></div><div><font color="#0033ff"><br></font></div><div><font color="#0033ff"><span ="Apple-tab-span" style="white-space:pre">		</span>Local $iIDContentStream = $oQP.NewContentStream()</font></div><div><font color="#0033ff"><span ="Apple-tab-span" style="white-space:pre">		</span>_QPDF_LastErrorCode($oQP)</font></div><div><font color="#0033ff"><span ="Apple-tab-span" style="white-space:pre">		</span>$oQP.SelectContentStream($iIDContentStream)</font></div><div><font color="#0033ff"><span ="Apple-tab-span" style="white-space:pre">		</span>_QPDF_LastErrorCode($oQP)</font></div><div><font color="#0033ff"><span ="Apple-tab-span" style="white-space:pre">		</span>$oQP.SetMeasurementUnits($__eQPDF_MUNITS_Milimeters)</font></div><div><font color="#0033ff"><span ="Apple-tab-span" style="white-space:pre">		</span>_QPDF_LastErrorCode($oQP)</font></div><div><font color="#0033ff"><span ="Apple-tab-span" style="white-space:pre">		</span>$oQP.SetOrigin(1);</font></div><div><font color="#0033ff"><span ="Apple-tab-span" style="white-space:pre">		</span>_QPDF_LastErrorCode($oQP)</font></div><div><font color="#0033ff"><span ="Apple-tab-span" style="white-space:pre">		</span>$oQP.SetLineWidth(4)</font></div><div style="line-height: 16.7999992370605px;"><font color="#0033ff"><span ="Apple-tab-span" style="white-space: pre;">		</span>_QPDF_LastErrorCode($oQP)</font></div><div><font color="#0033ff"><span ="Apple-tab-span" style="white-space:pre">		</span>$oQP.DrawLine(0, 0, 100, 100)</font></div><div><font color="#0033ff"><span ="Apple-tab-span" style="white-space:pre">		</span>_QPDF_LastErrorCode($oQP)</font></div><div><font color="#0033ff"><span ="Apple-tab-span" style="white-space:pre">		</span>$oQP.SaveToFile('Z:\test.1.pdf')</font></div><div><font color="#0033ff"><span ="Apple-tab-span" style="white-space:pre">		</span>$oQP.SelectContentStream($iIDContentStream)</font></div><div><font color="#0033ff"><span ="Apple-tab-span" style="white-space:pre">		</span>_QPDF_LastErrorCode($oQP)</font></div><div><font color="#0033ff"><span ="Apple-tab-span" style="white-space:pre">		</span>$oQP.DeleteContentStream()</font></div><div><font color="#0033ff"><span ="Apple-tab-span" style="white-space:pre">		</span>$oQP.SaveToFile('Z:\test.2.pdf')</font></div><div><font color="#0033ff"><span ="Apple-tab-span" style="white-space:pre">		</span>_QPDF_LastErrorCode($oQP)</font></div></div><div><br></div></div></div></div>]]>
   </description>
   <pubDate>Fri, 14 Nov 2014 20:58:44 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/add-text-content-and-remove-later_topic2991_post12124.html#12124</guid>
  </item> 
  <item>
   <title><![CDATA[Add text content and remove later : Have you thought about adding...]]></title>
   <link>http://www.quickpdf.org/forum/add-text-content-and-remove-later_topic2991_post12076.html#12076</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2991<br /><strong>Posted:</strong> 16 Oct 14 at 7:04AM<br /><br />Have you thought about adding the extra commands into an OCG (OCG Layer). &nbsp;You can retrieve it later by name and then delete it.<div><br></div><div>You may need to do a little more research. &nbsp;You may also be able to add a PDF comment to the start of the content stream so you can locate it later on. &nbsp;A pdf comment starts with a % sign and terminates with a line feed. &nbsp;You can use the&nbsp;SetContentStreamFromString function after NewContentSteam to set the initial text of the stream to something you can parse later.</div><div><br></div><div>&nbsp; char LineFeed = 0x0A;</div><div>&nbsp; NewContentStream();</div><div>&nbsp; SetContentStreamFromString(" % CustomContentStringID#1" + LineFeed);<br><div><br></div><div>Here is some sample C# code for working with OCG's.&nbsp;</div><div><br></div><div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.NewDocument();</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Create four new optional content groups</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int OCG1 = QP.NewOptionalContentGroup("Layer 1");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int OCG2 = QP.NewOptionalContentGroup("Layer 2");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int OCG3 = QP.NewOptionalContentGroup("Layer 3");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int OCG4 = QP.NewOptionalContentGroup("Layer 4");</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Select the page that you want the layers to be</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // associated with.</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SelectPage(1);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Specify top left corner for starting point</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // of all drawing functions.</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SetOrigin(1);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Add OCG 1</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //QP.NewContentStream();</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SelectContentStream(1);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.DrawText(100, 100, "Layer 1");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SetContentStreamOptional(OCG1);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SetOptionalContentGroupVisible(OCG1, 1);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Add OCG 2</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.NewContentStream();</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SelectContentStream(2);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.DrawText(200, 100, "Layer 2");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SetContentStreamOptional(OCG2);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SetOptionalContentGroupVisible(OCG2, 1);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Add OCG 3</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.NewContentStream();</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SelectContentStream(3);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.DrawText(300, 100, "Layer 3");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SetContentStreamOptional(OCG3);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SetOptionalContentGroupVisible(OCG3, 1);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Add OCG 4</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.NewContentStream();</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SelectContentStream(4);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.DrawText(400, 100, "Layer 4");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SetContentStreamOptional(OCG4);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SetOptionalContentGroupVisible(OCG4, 1);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Save file to disk with new layers</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int configCount = QP.GetOptionalContentConfigCount();</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (configCount == 1)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SetOptionalContentConfigLocked(1, OCG1, 1);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SetOptionalContentConfigLocked(1, OCG3, 1);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SetOptionalContentGroupPrintable(OCG2, 0);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SetOptionalContentGroupPrintable(OCG3, 0);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SaveToFile("out.pdf");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Process.Start(@"out.pdf");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.RemoveDocument(QP.SelectedDocument());</div><div><span style="line-height: 1.4;"><br></span></div><div><span style="line-height: 1.4;">2nd example&nbsp;</span></div><div><span style="line-height: 1.4;"><br></span></div><div><span style="line-height: 1.4;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.LoadFromFile("PDFParameters.pdf", "");</span></div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int OCG1 = QP.NewOptionalContentGroup("Layer 1");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.NewContentStream();</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int cs = QP.ContentStreamCount();</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SetOrigin(1);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SelectContentStream(cs); &nbsp; // Select the last content stream.</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int id = QP.AddImageFromFile("layer_eye.jpg", 0);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SelectImage(id);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.DrawImage(10, 10, 200, 200);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SetContentStreamOptional(OCG1);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SetOptionalContentGroupVisible(OCG1, 1);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.MoveContentStream(cs, 1); &nbsp; &nbsp; &nbsp; &nbsp;// Move to the bottom layer</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SaveToFile("out.pdf");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Process.Start("out.pdf");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.RemoveDocument(QP.SelectedDocument());</div><div><br></div><div><br></div><div><br></div></div></div>]]>
   </description>
   <pubDate>Thu, 16 Oct 2014 07:04:14 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/add-text-content-and-remove-later_topic2991_post12076.html#12076</guid>
  </item> 
  <item>
   <title><![CDATA[Add text content and remove later : If under your/your company control,...]]></title>
   <link>http://www.quickpdf.org/forum/add-text-content-and-remove-later_topic2991_post12075.html#12075</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2631">erico</a><br /><strong>Subject:</strong> 2991<br /><strong>Posted:</strong> 14 Oct 14 at 9:34PM<br /><br />If under your/your company control, set policy to always add a new content stream and move it first. That way all QPDF streams occur at the beginning of a page, and each edit cycle is separate.<br><br>If this is not possible, it becomes much harder to remove things. Perhaps examine how ExtractPageTextBlocks() may work. But I don't see an easy means to change them without manipulating the content stream at a lower level such as Get/Set ContentStreamFromString <br><br>Suggestion: Place an invisible text string at a known location on the page which identifies your content stream, the use SetTextExtractionArea() before GetPageText(). If your invisible key is there, this is your content stream. As before use "Safe" and stop looking when the streams become original content.<br>]]>
   </description>
   <pubDate>Tue, 14 Oct 2014 21:34:02 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/add-text-content-and-remove-later_topic2991_post12075.html#12075</guid>
  </item> 
  <item>
   <title><![CDATA[Add text content and remove later : My question was theoretical and...]]></title>
   <link>http://www.quickpdf.org/forum/add-text-content-and-remove-later_topic2991_post12074.html#12074</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2557">mLipok</a><br /><strong>Subject:</strong> 2991<br /><strong>Posted:</strong> 14 Oct 14 at 9:12PM<br /><br />My question was theoretical and practical at the same time because I will have to implement them in practice.&nbsp;<div>In theory you can assume that the PDF file has been processed several times including at least two times with QuickPDF then will be required to verify whether the ContentStream contains the desired text.&nbsp;</div><div><br></div><div>But I think it best to check each ContetnStream using ContentStreamSafe (), and if more than one, then use my method.&nbsp;</div><div><br></div><div>I first thought it should be quick and at the same time certain.&nbsp;</div><div><br></div><div>But then I considered another case.&nbsp;</div><div><br></div><div>Imagine a plain scanned PDF, then I added ContentStream and some text. Then someone else added his text but to my ContentStream. Both texts were added with checking ContentStreamSafe (), but both were added at the same ContentStream.&nbsp;</div><div><br></div><div>So in my practical case, unfortunately, I have to analyze the text content of the ConentStream. After further reflection I found that it still can not be sure that the ContentStream contains only my data.&nbsp;</div><div><br></div>]]>
   </description>
   <pubDate>Tue, 14 Oct 2014 21:12:03 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/add-text-content-and-remove-later_topic2991_post12074.html#12074</guid>
  </item> 
  <item>
   <title><![CDATA[Add text content and remove later : Will you always delete the entire...]]></title>
   <link>http://www.quickpdf.org/forum/add-text-content-and-remove-later_topic2991_post12073.html#12073</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2631">erico</a><br /><strong>Subject:</strong> 2991<br /><strong>Posted:</strong> 14 Oct 14 at 7:50PM<br /><br />Will you always delete the entire content you have added?<br><br>If so, then rather than delete every stream and re-analyze, use ContentStreamSafe() or EditableContentStream() to determine whether it is original content or was added by QuickPDF.<br><br>Only delete those that you add.<br><br>You could make your job even easier: before you draw use this<br><br>&nbsp;&nbsp; streamId = NewContentStream();&nbsp;&nbsp; // you will draw only in this stream<br>&nbsp;&nbsp; MoveContentStrem(streamId,1);&nbsp;&nbsp;&nbsp;&nbsp; // make it the first on the page<br><br>this way, you always draw in content stream 1 and you do not need to loop at all.<br><br>if ContentStreamSafe(1) is false, then you did not draw on this page.<br><br>Did not see the end of your post. As you can see from my "points", I'm pretty new. I would suspect that what is drawn may be applied in an unknown context, resulting in unpredictable results.<br><span style="font-size:10px"><br /><br />Edited by erico - 14 Oct 14 at 7:52PM</span>]]>
   </description>
   <pubDate>Tue, 14 Oct 2014 19:50:27 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/add-text-content-and-remove-later_topic2991_post12073.html#12073</guid>
  </item> 
  <item>
   <title><![CDATA[Add text content and remove later : btw.I read ref.guide forContentStreamSafe()And...]]></title>
   <link>http://www.quickpdf.org/forum/add-text-content-and-remove-later_topic2991_post12072.html#12072</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2557">mLipok</a><br /><strong>Subject:</strong> 2991<br /><strong>Posted:</strong> 14 Oct 14 at 7:48PM<br /><br />btw.<div>I read ref.guide for&nbsp;<span style="line-height: 16.7999992370605px; : rgb251, 251, 253;">ContentStreamSafe()</span></div><div><span style="line-height: 16.7999992370605px; : rgb251, 251, 253;"><br></span></div><div><span style="line-height: 16.7999992370605px; : rgb251, 251, 253;">And I have question about this:</span></div><div><span style="line-height: 16.7999992370605px; : rgb251, 251, 253;"><br></span></div><div><span style=": rgb251, 251, 253;"><div><font color="#0000cc">Only content stream parts created by Quick PDF Library should be considered "safe" to drawn on.</font></div><div><font color="#0000cc">If a content stream part is not safe it would be best to combine all the content stream parts using</font></div><div><font color="#0000cc">the CombineContentStreams function before drawing on the page to prevent later errors in the</font></div><div><font color="#0000cc">document.</font></div><div><br></div></span></div><div><span style="line-height: 16.7999992370605px; : rgb251, 251, 253;">Is this mean that it is good practice to always create my own ContentStream when I want for example make a stamp on Scaned+OCR (ABBY) PDF ?</span></div><div><span style="line-height: 16.7999992370605px; : rgb251, 251, 253;"><br></span></div><div><span style=": rgb251, 251, 253;">I have also other PDF created form Word by NovaPDFv7.5</span></div><div><span style=": rgb251, 251, 253;"><br></span></div><div><span style=": rgb251, 251, 253;">and second question:</span></div><div><span style=": rgb251, 251, 253;">Can you&nbsp;</span>cite an example - the "Disasters" associated with non-compliance with this rule?</div><div><br></div>]]>
   </description>
   <pubDate>Tue, 14 Oct 2014 19:48:01 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/add-text-content-and-remove-later_topic2991_post12072.html#12072</guid>
  </item> 
  <item>
   <title><![CDATA[Add text content and remove later : I get it how to do this.1.ContentStreamCount()2....]]></title>
   <link>http://www.quickpdf.org/forum/add-text-content-and-remove-later_topic2991_post12071.html#12071</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2557">mLipok</a><br /><strong>Subject:</strong> 2991<br /><strong>Posted:</strong> 14 Oct 14 at 7:39PM<br /><br />I get it how to do this.<div>1.&nbsp;<span style="line-height: 1.4;">ContentStreamCount()</span></div><div>2. now in Loop get all&nbsp;<span style="line-height: 16.7999992370605px;">ContentStream</span>&nbsp;to array</div><div>3. Delete all ContentStream</div><div>4. now add one by one and make a TEXT analysis</div><div><br></div><div>in this way I think I be able to check which contentstream contain text which I added before.</div><div>So I be able to delete this selected&nbsp;<span style="line-height: 16.7999992370605px;">ContentStream</span>.</div><div><br></div><div>What you think ?</div><div><br></div><div>EDIT:</div><div>I have not checked yet</div><div><br></div><span style="font-size:10px"><br /><br />Edited by mLipok - 14 Oct 14 at 7:48PM</span>]]>
   </description>
   <pubDate>Tue, 14 Oct 2014 19:39:18 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/add-text-content-and-remove-later_topic2991_post12071.html#12071</guid>
  </item> 
  <item>
   <title><![CDATA[Add text content and remove later : Try looking at ContentStreamSafe();If...]]></title>
   <link>http://www.quickpdf.org/forum/add-text-content-and-remove-later_topic2991_post12070.html#12070</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2631">erico</a><br /><strong>Subject:</strong> 2991<br /><strong>Posted:</strong> 14 Oct 14 at 6:49PM<br /><br />Try looking at ContentStreamSafe();<br><br>If this returns true, the content stream was created by the QuickPDF library and can be safely manipulated/deleted<br>]]>
   </description>
   <pubDate>Tue, 14 Oct 2014 18:49:16 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/add-text-content-and-remove-later_topic2991_post12070.html#12070</guid>
  </item> 
  <item>
   <title><![CDATA[Add text content and remove later : I want to add text and some graph...]]></title>
   <link>http://www.quickpdf.org/forum/add-text-content-and-remove-later_topic2991_post12069.html#12069</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2557">mLipok</a><br /><strong>Subject:</strong> 2991<br /><strong>Posted:</strong> 14 Oct 14 at 6:20PM<br /><br />I want to add text and some graph to existing PDF.<div>I know How to do this.</div><div><br></div><div>But If I want to be able to delete added content in a future.</div><div><span style="line-height: 1.4;">So i found&nbsp;</span>NewContentStream and&nbsp;SelectContentStream and&nbsp;DeleteContentStream</div><div><br></div><div>My question is When I use GetPageText How I can get only from one selected ContentStream ?</div><div>I need to control which&nbsp;<span style="line-height: 16.7999992370605px;">ContentStream</span>&nbsp;are used when I get Page Text.</div><div>Then I be able to delete this one which I need.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><span style="line-height: 1.4;"></span></div>]]>
   </description>
   <pubDate>Tue, 14 Oct 2014 18:20:52 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/add-text-content-and-remove-later_topic2991_post12069.html#12069</guid>
  </item> 
 </channel>
</rss>