<?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 : DrawTextBox and GetPageText</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 : DrawTextBox and GetPageText]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 01 May 2026 05:14:04 +0000</pubDate>
  <lastBuildDate>Sat, 18 Jun 2011 11:59:56 +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=1862</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[DrawTextBox and GetPageText : Hallo Ingo.I tried many things....]]></title>
   <link>http://www.quickpdf.org/forum/drawtextbox-and-getpagetext_topic1862_post8016.html#8016</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1626">haka</a><br /><strong>Subject:</strong> 1862<br /><strong>Posted:</strong> 18 Jun 11 at 11:59AM<br /><br />Hallo Ingo.<br><br>I tried many things. There seems to be a problem with DrawTextBox.<br>Code example:<br><br><font face="Courier New, Courier, mono">procedure TForm15.BtnSaveClick(Sender: TObject);<br>begin<br>&nbsp; with TQuickPDF.Create do<br>&nbsp; try<br>&nbsp;&nbsp;&nbsp; UnlockKey(QuickPdfSN);<br>&nbsp;&nbsp;&nbsp; SetPageSize('A4');<br>&nbsp;&nbsp;&nbsp; DrawTextBox(50, PageHeight-50,&nbsp; PageWidth-10, PageHeight-70, 'My text (DrawTextBox)', 1);<br>//&nbsp; DrawText&nbsp;&nbsp; (50, PageHeight-100, 'DrawText');<br>&nbsp;&nbsp;&nbsp; SaveToFile('C:\Temp\quickpdf-drwatextbox.pdf')<br>&nbsp; finally<br>&nbsp;&nbsp;&nbsp; Free;<br>&nbsp; end;<br>end;<br><br>procedure TForm15.BtnReadClick(Sender: TObject);<br>var s: string;<br>begin<br>&nbsp; with TQuickPDF.Create do<br>&nbsp; try<br>&nbsp;&nbsp;&nbsp; UnlockKey(QuickPdfSN);<br>&nbsp;&nbsp;&nbsp; LoadFromFile('C:\Temp\quickpdf-drwatextbox.pdf');<br>&nbsp;&nbsp;&nbsp; s := UTF8ToAnsi(GetPageText(0));<br>&nbsp;&nbsp;&nbsp; ShowMessage(s);<br>&nbsp; finally<br>&nbsp;&nbsp;&nbsp; Free;<br>&nbsp; end;<br>end;<br></font><br>And the example PDF: http://www.officemanager.de/tmp/foren/quickpdf-drwatextbox.pdf<br><br><span id="result_" ="short_text" lang="en"><span title="Zur Anzeige alternativer Übersetzungen klicken" ="hps">You can</span> <span title="Zur Anzeige alternativer Übersetzungen klicken" ="hps">not read the text</span> <span title="Zur Anzeige alternativer Übersetzungen klicken" ="hps">with</span> <span title="Zur Anzeige alternativer Übersetzungen klicken" ="hps">GetPageText</span><span ="" title="Zur Anzeige alternativer Übersetzungen klicken">.<br><br>Thanks, Harald<br></span></span>]]>
   </description>
   <pubDate>Sat, 18 Jun 2011 11:59:56 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawtextbox-and-getpagetext_topic1862_post8016.html#8016</guid>
  </item> 
  <item>
   <title><![CDATA[DrawTextBox and GetPageText : Hi!Try to change the two lines.First...]]></title>
   <link>http://www.quickpdf.org/forum/drawtextbox-and-getpagetext_topic1862_post8012.html#8012</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1862<br /><strong>Posted:</strong> 17 Jun 11 at 9:34PM<br /><br />Hi!<br><br>Try to change the two lines.<br>First DrawText then the other one...<br>New result?<br>What are the settings regarding font heighs and so on?<br>Is the box big enough for "DrawTextBox"?<br>You should deal a bit more with the settings.<br>I had been wondered that you could ever extract text before save it to disk ;-)<br><br>Cheers and welcome here,<br>Ingo<br>]]>
   </description>
   <pubDate>Fri, 17 Jun 2011 21:34:00 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawtextbox-and-getpagetext_topic1862_post8012.html#8012</guid>
  </item> 
  <item>
   <title><![CDATA[DrawTextBox and GetPageText : Hallo. A text that is stored with...]]></title>
   <link>http://www.quickpdf.org/forum/drawtextbox-and-getpagetext_topic1862_post8011.html#8011</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1626">haka</a><br /><strong>Subject:</strong> 1862<br /><strong>Posted:</strong> 17 Jun 11 at 9:08PM<br /><br />Hallo. <br>A text that is stored with DrawTextBox can not be read by GetPageText.<br><br><font face="Courier New, Courier, mono">procedure TForm15.Button1Click(Sender: TObject);<br>var LPDF: TQuickPDF;<br>&nbsp;&nbsp;&nbsp; s&nbsp;&nbsp; : string;<br>begin<br>&nbsp; LPDF := TQuickPDF.Create;<br>&nbsp; try<br>&nbsp;&nbsp;&nbsp; LPDF.UnlockKey(QuickPdfSN);<br>&nbsp;&nbsp;&nbsp; LPDF.SetPageSize('A4');<br>&nbsp;&nbsp;&nbsp; // Store OCR-Text...<br>&nbsp;&nbsp;&nbsp; LPDF.DrawTextBox(50, LPDF.PageHeight-50,&nbsp; LPDF.PageWidth-10, LPDF.PageHeight-70, 'DrawTextBox', 1);<br>&nbsp;&nbsp;&nbsp; LPDF.DrawText&nbsp;&nbsp; (50, LPDF.PageHeight-100, 'DrawText');<br>&nbsp;&nbsp;&nbsp; // Read Text...<br>&nbsp;&nbsp;&nbsp; s := UTF8ToAnsi(LPDF.GetPageText(0));<br>&nbsp;&nbsp;&nbsp; ShowMessage(s);<br>&nbsp; finally<br>&nbsp;&nbsp;&nbsp; LPDF.Free;<br>&nbsp; end;<br>end;<br></font><br>Variable s only contains "DrawText". Is this a bug?<br>I'm using QuickPDF 7.25 and Delphi 2009.<br><br>Greetings, Harald<br>]]>
   </description>
   <pubDate>Fri, 17 Jun 2011 21:08:33 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawtextbox-and-getpagetext_topic1862_post8011.html#8011</guid>
  </item> 
 </channel>
</rss>