<?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 : the end of 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 : the end of text]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 01 May 2026 04:02:18 +0000</pubDate>
  <lastBuildDate>Tue, 30 Jul 2013 11:52:27 +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=2689</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[the end of text :  liveny,The method you have used...]]></title>
   <link>http://www.quickpdf.org/forum/the-end-of-text_topic2689_post11051.html#11051</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2689<br /><strong>Posted:</strong> 30 Jul 13 at 11:52AM<br /><br /><div>liveny,</div><div><br></div><div>The method you have used is the only real method. &nbsp;A PDF file doesn't contain paragraphs and word positions in the way that MS Word would. &nbsp;A PDF is made up of jigsaw pieces and each piece has a location of where it goes on the page. &nbsp;GetPageText finds all the pieces and tries to group them together into words and lines but it is not always perfect as it is not an exact science. &nbsp;For a simple letter it is more than adequate and the only real method to use.</div><div><br></div><div>Your code might be a little simpler if you use the Text Blocks functions. &nbsp;He is some simple sample code.</div><div><br></div><div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.LoadFromFile("aaa.pdf", "");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (int i = 1;i&lt;=QP.PageCount();i++)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SelectPage(i);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int id = QP.ExtractPageTextBlocks(3);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (int w=1;w&lt;=QP.GetTextBlockCount(id);w++)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; double size = QP.GetTextBlockFontSize(id, w);</div><div><br></div><div><span style="line-height: 1.4;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MessageBox.Show("Page :" + i.ToString() + " Word:" + w.ToString() + "'" + QP.GetTextBlockText(id, w) + "'");</span></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.ReleaseTextBlocks(id);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div>Andrew.</div>]]>
   </description>
   <pubDate>Tue, 30 Jul 2013 11:52:27 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/the-end-of-text_topic2689_post11051.html#11051</guid>
  </item> 
  <item>
   <title><![CDATA[the end of text : ;-) Thx, but in my case, text...]]></title>
   <link>http://www.quickpdf.org/forum/the-end-of-text_topic2689_post11039.html#11039</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2428">liveny</a><br /><strong>Subject:</strong> 2689<br /><strong>Posted:</strong> 25 Jul 13 at 5:11AM<br /><br />&nbsp;;-) Thx, but in my case, text added in the end of PAGE no matter what I used. Eventually I solved this problem by using GetPageText(3) - I just calculate the y-coordinate of the last &nbsp;line. &nbsp;If there is another way to do it, so, would you please.. &nbsp;^.^&nbsp;]]>
   </description>
   <pubDate>Thu, 25 Jul 2013 05:11:54 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/the-end-of-text_topic2689_post11039.html#11039</guid>
  </item> 
  <item>
   <title><![CDATA[the end of text : So do it ... ;-)Automatically...]]></title>
   <link>http://www.quickpdf.org/forum/the-end-of-text_topic2689_post11038.html#11038</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 2689<br /><strong>Posted:</strong> 24 Jul 13 at 11:23AM<br /><br />So do it ... ;-)<br>Automatically it will be added to the end.<br><br>]]>
   </description>
   <pubDate>Wed, 24 Jul 2013 11:23:44 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/the-end-of-text_topic2689_post11038.html#11038</guid>
  </item> 
  <item>
   <title><![CDATA[the end of text : In short, I want to add text to...]]></title>
   <link>http://www.quickpdf.org/forum/the-end-of-text_topic2689_post11032.html#11032</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2428">liveny</a><br /><strong>Subject:</strong> 2689<br /><strong>Posted:</strong> 22 Jul 13 at 5:42AM<br /><br />In short,&nbsp; I want to add text to the end of the document. &nbsp;]]>
   </description>
   <pubDate>Mon, 22 Jul 2013 05:42:21 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/the-end-of-text_topic2689_post11032.html#11032</guid>
  </item> 
  <item>
   <title><![CDATA[the end of text : Hi! thx for your answer. May be...]]></title>
   <link>http://www.quickpdf.org/forum/the-end-of-text_topic2689_post11031.html#11031</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2428">liveny</a><br /><strong>Subject:</strong> 2689<br /><strong>Posted:</strong> 21 Jul 13 at 11:47PM<br /><br />Hi! thx for your answer. May be I didn't make myself clear. The point is I don't need &nbsp;a DIGITAL signature. I want to add facsimile. =)&nbsp;]]>
   </description>
   <pubDate>Sun, 21 Jul 2013 23:47:48 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/the-end-of-text_topic2689_post11031.html#11031</guid>
  </item> 
  <item>
   <title><![CDATA[the end of text : Hi Liveny!Why not try this one...]]></title>
   <link>http://www.quickpdf.org/forum/the-end-of-text_topic2689_post11029.html#11029</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 2689<br /><strong>Posted:</strong> 19 Jul 13 at 8:13PM<br /><br />Hi Liveny!<div><br></div><div>Why not try this one:</div><div><a href="http://www.quickpdflibrary.com/faq/how-do-i-apply-a-digital-signature-to-a-pdf-using-quick-pdf-library.php" target="_blank" rel="nofollow">http://www.quickpdflibrary.com/faq/how-do-i-apply-a-digital-signature-to-a-pdf-using-quick-pdf-library.php</a></div><div>You can add a signature to a file and it doesn't matter where your textcontent is.</div><div><br></div><div>The length of your text you can determine while using the textextraction counting the characters.</div><div><br></div><div>Cheers and welcome here,</div><div>Ingo</div><div><br></div>]]>
   </description>
   <pubDate>Fri, 19 Jul 2013 20:13:14 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/the-end-of-text_topic2689_post11029.html#11029</guid>
  </item> 
  <item>
   <title><![CDATA[the end of text : Hi, guys!I need to add a signature...]]></title>
   <link>http://www.quickpdf.org/forum/the-end-of-text_topic2689_post11027.html#11027</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2428">liveny</a><br /><strong>Subject:</strong> 2689<br /><strong>Posted:</strong> 19 Jul 13 at 5:19AM<br /><br /><p>Hi, guys!</p><p>I need to add &nbsp;a signature to the end of text. But &nbsp;I don't know the length of the text&nbsp; in advance. Is it possible to determine the end programmatically?</p>]]>
   </description>
   <pubDate>Fri, 19 Jul 2013 05:19:50 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/the-end-of-text_topic2689_post11027.html#11027</guid>
  </item> 
 </channel>
</rss>