<?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="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Insert image in some cell of the report ?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Insert image in some cell of the report ?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 23:57:51 +0000</pubDate>
  <lastBuildDate>Thu, 14 Dec 2006 14:33:24 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=5772</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Insert image in some cell of the report ? : ok, thank you ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5772&amp;PID=18229&amp;title=insert-image-in-some-cell-of-the-report#18229</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2501">mav46</a><br /><strong>Subject:</strong> 5772<br /><strong>Posted:</strong> 14 December 2006 at 2:33pm<br /><br />ok, thank you]]>
   </description>
   <pubDate>Thu, 14 Dec 2006 14:33:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5772&amp;PID=18229&amp;title=insert-image-in-some-cell-of-the-report#18229</guid>
  </item> 
  <item>
   <title><![CDATA[Insert image in some cell of the report ? : See an example below:   &amp;#039;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5772&amp;PID=18221&amp;title=insert-image-in-some-cell-of-the-report#18221</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 5772<br /><strong>Posted:</strong> 14 December 2006 at 2:00pm<br /><br />See an example below:<br><br><table width="99%"><tr><td><pre class="BBcode"><br><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 128, 0); : transparent;">' enable sending events</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">wndReportControl.SetCustomDraw xtpCustomDrawItem + xtpCustomMeasureRow</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> </span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> </span></div><div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 128, 0); : transparent;">' Set row size as picture height</span></div></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Private Sub wndReportControl_MeasureRow(ByVal Row As XtremeReportControl.IReportRow, ByVal hDC As stdole.OLE_HANDLE, ByVal Width As Long, Height As Long)</span><br><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">    '567 twips to a centimeter</span><br><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">    Height = Image1.Picture.Height / 1000 * 567 / Screen.TwipsPerPixelX</span><br><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">End Sub</span><br></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> </span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 128, 0); : transparent;">' Place inmage named Image1 to your form, select bitmap for it</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Private Sub wndReportControl_DrawItem(ByVal Row As IReportRow, ByVal Column As IReportColumn, ByVal Item As IReportRecordItem, ByVal hDC As stdole.OLE_HANDLE, ByVal left As Long, ByVal top As Long, ByVal right As Long, ByVal bottom As Long, DoDefault As Boolean)</span><br><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">    If Column.ItemIndex = COLUMN_SIZE Then</span><br><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">        </span><br><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">        DoDefault = False</span><br><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">        </span><br><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">        Dim pPicture As IPicture</span><br><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">        Set pPicture = Image1.Picture</span><br><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">      </span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 128, 0); : transparent;">        ' Draw image to report cell</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">        pPicture.Render hDC, left, top, right - left, bottom - top, _</span><br><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">                              0, pPicture.Height, pPicture.Width, -pPicture.Height, _</span><br><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">                              Null</span><br><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">    End If</span><br><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">    </span><br><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">End Sub</span></div></pre></td></tr></table><br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Thu, 14 Dec 2006 14:00:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5772&amp;PID=18221&amp;title=insert-image-in-some-cell-of-the-report#18221</guid>
  </item> 
  <item>
   <title><![CDATA[Insert image in some cell of the report ? : thank you for the response.Can...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5772&amp;PID=18178&amp;title=insert-image-in-some-cell-of-the-report#18178</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2501">mav46</a><br /><strong>Subject:</strong> 5772<br /><strong>Posted:</strong> 13 December 2006 at 3:36pm<br /><br />thank you for the response.&nbsp;Can you have an example to implement such functionality in&nbsp;this event handler&nbsp;?<DIV>&nbsp;</DIV><DIV>Please advice me. </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 13 Dec 2006 15:36:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5772&amp;PID=18178&amp;title=insert-image-in-some-cell-of-the-report#18178</guid>
  </item> 
  <item>
   <title><![CDATA[Insert image in some cell of the report ? : Yes, you can draw any custom picture...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5772&amp;PID=18174&amp;title=insert-image-in-some-cell-of-the-report#18174</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 5772<br /><strong>Posted:</strong> 13 December 2006 at 3:27pm<br /><br />Yes, you can draw any custom picture inside a cell using wndReportControl_DrawItem handler.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Wed, 13 Dec 2006 15:27:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5772&amp;PID=18174&amp;title=insert-image-in-some-cell-of-the-report#18174</guid>
  </item> 
  <item>
   <title><![CDATA[Insert image in some cell of the report ? : There is a way to insert a bitmap...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5772&amp;PID=18132&amp;title=insert-image-in-some-cell-of-the-report#18132</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2501">mav46</a><br /><strong>Subject:</strong> 5772<br /><strong>Posted:</strong> 12 December 2006 at 5:57pm<br /><br />There is a way to insert a bitmap (image) in some&nbsp;cell of the report ?<DIV>&nbsp;</DIV><DIV>Thanks.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 12 Dec 2006 17:57:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5772&amp;PID=18132&amp;title=insert-image-in-some-cell-of-the-report#18132</guid>
  </item> 
 </channel>
</rss>