<?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 : Draw text under a barcode</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 : Sample Code : Draw text under a barcode]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 08 May 2026 06:05:17 +0000</pubDate>
  <lastBuildDate>Thu, 03 Feb 2011 18:21:19 +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=1725</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[Draw text under a barcode :  Here is some sample code in...]]></title>
   <link>http://www.quickpdf.org/forum/draw-text-under-a-barcode_topic1725_post7550.html#7550</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1000">Rowan</a><br /><strong>Subject:</strong> 1725<br /><strong>Posted:</strong> 03 Feb 11 at 6:21PM<br /><br />Here is some sample code in Delphi that lets you draw text underneath a barcode.<div><br></div><div><div>// Add the Helvetica standard font</div><div>QP.AddStandardFont(4);</div><div><br></div><div>// Get the width of the barcode with a bar width of 1 unit</div><div>BarcodeWidth := QP.GetBarcodeWidth(1, '12345', 1);</div><div><br></div><div>// Draw the barcode</div><div>QP.DrawBarcode(100, 500, BarcodeWidth, 100, '12345', 1, 0);</div><div><br></div><div>// Center the text</div><div>QP.SetTextAlign(1);</div><div><br></div><div>// Draw the text at 10pt</div><div>QP.SetTextSize(10);</div><div>QP.DrawText(100 + BarcodeWidth / 2, 500 - 200 - 5 -</div><div>QP.GetTextHeight, '12345');</div></div><span style="font-size:10px"><br /><br />Edited by Rowan - 07 Feb 11 at 8:15PM</span>]]>
   </description>
   <pubDate>Thu, 03 Feb 2011 18:21:19 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/draw-text-under-a-barcode_topic1725_post7550.html#7550</guid>
  </item> 
 </channel>
</rss>