<?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 : Barcode in table</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 : Barcode in table]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 18:40:38 +0000</pubDate>
  <lastBuildDate>Tue, 02 Feb 2010 15:12:46 +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=1332</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[Barcode in table :   Thanks forsuggestions.I&amp;#039;m...]]></title>
   <link>http://www.quickpdf.org/forum/barcode-in-table_topic1332_post6100.html#6100</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1238">doug_b</a><br /><strong>Subject:</strong> 1332<br /><strong>Posted:</strong> 02 Feb 10 at 3:12PM<br /><br /><div><div>Thanks for&nbsp;suggestions.</div><div><br></div></div><div>I'm trying to layout some shipping labels with&nbsp;bar-codes. I just thought that maybe there was a way to place a&nbsp;bar-code&nbsp;using the table&nbsp;structure. If not, I will just calculate the correct location on the page and use DrawBarcode function.&nbsp;</div><div><br></div><div>Below is a sample of my code.&nbsp;</div><div><br></div><table width="99%"><tr><td><pre class="BBcode"><div><div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' Set the page size of the new document</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;qp.SetPageSize(PageSize)</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;' Set the Measurement Units to Inchs</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;qp.SetMeasurementUnits(2)</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;' Create the table and specify the number of rows and columns</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Dim tableID As Integer</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tableID = qp.CreateTable(10, 3)</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;' Specify color and width of borders &nbsp;&nbsp;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;qp.SetTableBorderColor(tableID, 0, 1, 1, 1)</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;qp.SetTableBorderWidth(tableID, 0, 0.01)</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;' Specify table row height</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;For row = 1 To 9 Step 2</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;qp.SetTableRowHeight(tableID, row, row, 0.5)</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;qp.SetTableRowHeight(tableID, row + 1, row + 1, 1.5)</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Next</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;' Specify table column width</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;qp.SetTableColumnWidth(tableID, 1, 3, 3.9)</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;qp.SetTableColumnWidth(tableID, 2, 2, 0.2)</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;' Specify Cell Padding</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;qp.SetTableCellPadding(tableID, 1, 1, 5, 3, 0, 0.05)</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;' Insert the content for cells</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;For col = 1 To 3 Step 2</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;For row = 1 To 9 Step 2</div><div><br></div><div>'---&gt; I would like to add a barcode&nbsp;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;qp.SetTableCellContent(tableID, row, col, "1234567890123")</div><div>'---</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;qp.SetTableCellContent(tableID, row + 1, col, _</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"&lt;p align=""center""&gt;1234567890123&lt;/p&gt;")</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Next</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Next</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;' Draw the table onto the document</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Dim s As Double</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;s = qp.DrawTableRows(tableID, 0.25, 10.5, 10.5, 1, 0)</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;' Save the document to disk</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;qp.SaveToFile(output)</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;' Check to see if the table could be created</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;If s = False Then</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MsgBox("Could not create table!")</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;End If</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Process.Start(output)</div></div></div><div></pre></td></tr></table></div><span style="font-size:10px"><br /><br />Edited by doug_b - 02 Feb 10 at 3:30PM</span>]]>
   </description>
   <pubDate>Tue, 02 Feb 2010 15:12:46 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/barcode-in-table_topic1332_post6100.html#6100</guid>
  </item> 
  <item>
   <title><![CDATA[Barcode in table :  Hi Doug!In the online-documentation...]]></title>
   <link>http://www.quickpdf.org/forum/barcode-in-table_topic1332_post6094.html#6094</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1332<br /><strong>Posted:</strong> 02 Feb 10 at 6:30AM<br /><br />Hi Doug!<br><br>In the online-documentation you can read that the barcode will be drawn on the page.<br>So why not drawn in a cell of a page? Try it.<br>If you're speaking from an Excel-cell ... After drawn on the pdf-page you can convert it to an image and then insert it into a cell.<br><br>Cheers, Ingo<br><br><span style="font-size:10px"><br /><br />Edited by Ingo - 02 Feb 10 at 6:30AM</span>]]>
   </description>
   <pubDate>Tue, 02 Feb 2010 06:30:16 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/barcode-in-table_topic1332_post6094.html#6094</guid>
  </item> 
  <item>
   <title><![CDATA[Barcode in table : Can a barcode be put into a table...]]></title>
   <link>http://www.quickpdf.org/forum/barcode-in-table_topic1332_post6093.html#6093</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1238">doug_b</a><br /><strong>Subject:</strong> 1332<br /><strong>Posted:</strong> 01 Feb 10 at 9:08PM<br /><br /><P>Can a barcode be put into a table cell?</P><DIV></DIV>]]>
   </description>
   <pubDate>Mon, 01 Feb 2010 21:08:37 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/barcode-in-table_topic1332_post6093.html#6093</guid>
  </item> 
 </channel>
</rss>