<?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 : GetTableCellDblProperty</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 : General Discussion : GetTableCellDblProperty]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 09:50:43 +0000</pubDate>
  <lastBuildDate>Wed, 24 Jun 2015 16:56: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=3133</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[GetTableCellDblProperty : That helps.Thanks! ]]></title>
   <link>http://www.quickpdf.org/forum/gettablecelldblproperty_topic3133_post12575.html#12575</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2425">mdgodfrey</a><br /><strong>Subject:</strong> 3133<br /><strong>Posted:</strong> 24 Jun 15 at 4:56PM<br /><br />That helps.<div><br></div><div>Thanks!</div>]]>
   </description>
   <pubDate>Wed, 24 Jun 2015 16:56:19 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/gettablecelldblproperty_topic3133_post12575.html#12575</guid>
  </item> 
  <item>
   <title><![CDATA[GetTableCellDblProperty : Actually, turns out it is not...]]></title>
   <link>http://www.quickpdf.org/forum/gettablecelldblproperty_topic3133_post12574.html#12574</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1000">Rowan</a><br /><strong>Subject:</strong> 3133<br /><strong>Posted:</strong> 24 Jun 15 at 3:38PM<br /><br />Actually, turns out it is not a bug, but unclear documentation. The&nbsp;GetTableCellDblProperty function needs to be called after the&nbsp;<span style="line-height: 1.4;">DrawTableRows function when you want to get the&nbsp;</span>Left/Top/Width/Height values<span style="line-height: 1.4;">. All of the other returned values should return correctly if&nbsp;</span>GetTableCellDblProperty&nbsp;earlier in the code.<span style="line-height: 1.4;">&nbsp;Doing that will give you the results you expect. We will update the function reference to make this clearer. Apologies for the confusion.</span><div><br></div><div><div>Here's some sample code:</div><div><br></div><div>// Set the page size of the new document</div><div><br></div><div>DPL.SetPageSize("Letter");</div><div><br></div><div>// Create the table and specify the number of rows and columns</div><div><br></div><div>int tableID = DPL.CreateTable(5, 5);</div><div><br></div><div>// Specify color and width of borders &nbsp;&nbsp;</div><div><br></div><div>DPL.SetTableBorderColor(tableID, 0, 0.3, 0.204, 0);</div><div>DPL.SetTableBorderWidth(tableID, 0, 0.2);</div><div><br></div><div>// Specify table row height and table column width</div><div><br></div><div>DPL.SetTableRowHeight(tableID, 1, 5, 0);</div><div>DPL.SetTableColumnWidth(tableID, 1, 5, 100);</div><div><br></div><div>// Specify a background color for the column headers</div><div><br></div><div>DPL.SetTableCellBackgroundColor(tableID, 1, 1, 1, 5, 0.3, 0.7, 1.0);</div><div>DPL.SetTableCellAlignment(tableID, 1, 1, 1, 5, 4);</div><div><br></div><div>// Setup the column headers and content for the first row</div><div><br></div><div>DPL.SetTableCellContent(tableID, 1, 1, "&lt;b&gt;This Week&lt;/b&gt;");</div><div>DPL.SetTableCellContent(tableID, 1, 2, "&lt;b&gt;Last Week&lt;/b&gt;");</div><div>DPL.SetTableCellContent(tableID, 1, 3, "&lt;b&gt;Artist Name&lt;/b&gt;");</div><div>DPL.SetTableCellContent(tableID, 1, 4, "&lt;b&gt;Peak&lt;/b&gt;");</div><div>DPL.SetTableCellContent(tableID, 1, 5, "&lt;b&gt;Weeks On&lt;/b&gt;");</div><div><br></div><div>// Insert the content for the second row</div><div><br></div><div>DPL.SetTableCellContent(tableID, 2, 1, "1");</div><div>DPL.SetTableCellContent(tableID, 2, 2, "1");</div><div>DPL.SetTableCellContent(tableID, 2, 3, "&lt;b&gt;The Black Eyed Peas&lt;/b&gt;&lt;br&gt;Boom Boom Pow");</div><div>DPL.SetTableCellContent(tableID, 2, 4, "&lt;b&gt;1&lt;/b&gt;");</div><div>DPL.SetTableCellContent(tableID, 2, 5, "&lt;b&gt;11&lt;/b&gt;");</div><div><br></div><div>// Insert the content for the third row</div><div><br></div><div>DPL.SetTableCellContent(tableID, 3, 1, "2");</div><div>DPL.SetTableCellContent(tableID, 3, 2, "3");</div><div>DPL.SetTableCellContent(tableID, 3, 3, "&lt;b&gt;Missy Higgins&lt;/b&gt;&lt;br&gt;Life is a rainbow");</div><div>DPL.SetTableCellContent(tableID, 3, 4, "&lt;b&gt;2&lt;/b&gt;");</div><div>DPL.SetTableCellContent(tableID, 3, 5, "&lt;b&gt;8&lt;/b&gt;");</div><div><br></div><div>// Insert the content for the fourth row</div><div><br></div><div>DPL.SetTableCellContent(tableID, 4, 1, "3");</div><div>DPL.SetTableCellContent(tableID, 4, 2, "2");</div><div>DPL.SetTableCellContent(tableID, 4, 3, "&lt;b&gt;Silverchair&lt;/b&gt;&lt;br&gt;The Door");</div><div>DPL.SetTableCellContent(tableID, 4, 4, "&lt;b&gt;3&lt;/b&gt;");</div><div>DPL.SetTableCellContent(tableID, 4, 5, "&lt;b&gt;7&lt;/b&gt;");</div><div><br></div><div>// Insert the content for the fourth row</div><div><br></div><div>DPL.SetTableCellContent(tableID, 5, 1, "4");</div><div>DPL.SetTableCellContent(tableID, 5, 2, "4");</div><div>DPL.SetTableCellContent(tableID, 5, 3, "&lt;b&gt;Rolling Stones&lt;/b&gt;&lt;br&gt;Sweet Virginia");</div><div>DPL.SetTableCellContent(tableID, 5, 4, "&lt;b&gt;4&lt;/b&gt;");</div><div>DPL.SetTableCellContent(tableID, 5, 5, "&lt;b&gt;19&lt;/b&gt;");</div><div><br></div><div>// Draw the table onto the document</div><div><br></div><div>DPL.SetOrigin(1);</div><div>DPL.DrawTableRows(tableID, 50, 50, 400, 1, 0);</div><div><br></div><div>double cellPosLeft = DPL.GetTableCellDblProperty(tableID, 5, 1, 101);</div><div>double cellPosTop = DPL.GetTableCellDblProperty(tableID, 5, 1, 102);</div><div>double cellPosWidth = DPL.GetTableCellDblProperty(tableID, 5, 1, 103);</div><div>double cellPosHeight = DPL.GetTableCellDblProperty(tableID, 5, 1, 104);</div><div><br></div><div>Console.WriteLine("Left: " + Convert.ToString(cellPosLeft));</div><div>Console.WriteLine("Top: " + Convert.ToString(cellPosTop));</div><div>Console.WriteLine("Height: " + Convert.ToString(cellPosHeight));</div><div>Console.WriteLine("Width: " + Convert.ToString(cellPosWidth));</div><div><br></div><div>// Save the document to disk</div><div>DPL.SaveToFile("table.pdf");</div></div><span style="font-size:10px"><br /><br />Edited by Rowan - 24 Jun 15 at 3:40PM</span>]]>
   </description>
   <pubDate>Wed, 24 Jun 2015 15:38:15 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/gettablecelldblproperty_topic3133_post12574.html#12574</guid>
  </item> 
  <item>
   <title><![CDATA[GetTableCellDblProperty : Himdgodfrey,Yes, it looks like...]]></title>
   <link>http://www.quickpdf.org/forum/gettablecelldblproperty_topic3133_post12573.html#12573</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1000">Rowan</a><br /><strong>Subject:</strong> 3133<br /><strong>Posted:</strong> 24 Jun 15 at 12:39PM<br /><br />Hi&nbsp;mdgodfrey,<div><br></div><div>Yes, it looks like there's an issue there. I'm seeing some unhelpful results on my end. I see one of my colleagues has already lodged a case for this in the bug tracker, I'll bump up the priority.</div><div><br></div><div>Cheers,</div><div>- Rowan.</div>]]>
   </description>
   <pubDate>Wed, 24 Jun 2015 12:39:52 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/gettablecelldblproperty_topic3133_post12573.html#12573</guid>
  </item> 
  <item>
   <title><![CDATA[GetTableCellDblProperty : I am trying to draw a checkbox...]]></title>
   <link>http://www.quickpdf.org/forum/gettablecelldblproperty_topic3133_post12541.html#12541</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2425">mdgodfrey</a><br /><strong>Subject:</strong> 3133<br /><strong>Posted:</strong> 10 Jun 15 at 6:54PM<br /><br />I am trying to draw a checkbox (unicode character $2610 or $2611) into a table cell.<div><br></div><div>I originally tried using&nbsp;SetTableCellContent but can't seem to find a way to get the HTML to work.</div><div>So my latest attempt is to use GetTableCellDblProperty using Tag 101 &amp; 102 to get the Left and Top of the cell.</div><div><br></div><div>Left wants to return 0. Not helpful since the cell is in the middle of the page.</div><div>Top wants to return a 279.8 which is at the bottom of the page.</div><div>Either way niether Left of Top return a value that is where the cell is.</div><div>Is that what it is intended to do?</div><div><br></div><div>Any suggestions at this point will be greatly appreciated.</div><div><br></div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Wed, 10 Jun 2015 18:54:57 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/gettablecelldblproperty_topic3133_post12541.html#12541</guid>
  </item> 
 </channel>
</rss>