<?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 : XAML Image from code</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : XAML Snippets : XAML Image from code]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 09 Jun 2026 19:00:23 +0000</pubDate>
  <lastBuildDate>Fri, 20 Aug 2010 10:25:22 +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=17096</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[XAML Image from code : See the markup sample project....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17096&amp;PID=59847&amp;title=xaml-image-from-code#59847</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=669">markr</a><br /><strong>Subject:</strong> 17096<br /><strong>Posted:</strong> 20 August 2010 at 10:25am<br /><br />See the markup sample project. It uses XTPImageManager() to load images and assign them an ID. You can then reference that ID in your markup. ]]>
   </description>
   <pubDate>Fri, 20 Aug 2010 10:25:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17096&amp;PID=59847&amp;title=xaml-image-from-code#59847</guid>
  </item> 
  <item>
   <title><![CDATA[XAML Image from code : I haven&amp;#039;t tried it, but if...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17096&amp;PID=59839&amp;title=xaml-image-from-code#59839</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 17096<br /><strong>Posted:</strong> 19 August 2010 at 2:14pm<br /><br />I haven't tried it, but if you are using the MarkupLabel control to display your XAML, take a look at the .Icons.AddBitmap and .Icons.AddIcon methods. They accept a handle parameter, and a Command number for the icon. Then in the source attribute of your XAML, use the Command number of the icon that you added instead of file://...<br><br><br>]]>
   </description>
   <pubDate>Thu, 19 Aug 2010 14:14:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17096&amp;PID=59839&amp;title=xaml-image-from-code#59839</guid>
  </item> 
  <item>
   <title><![CDATA[XAML Image from code :     I&amp;#039;m trying to load...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17096&amp;PID=59725&amp;title=xaml-image-from-code#59725</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6298">Steve28</a><br /><strong>Subject:</strong> 17096<br /><strong>Posted:</strong> 10 August 2010 at 2:56pm<br /><br /><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P><FONT color=#000000>I'm trying to load an image that is contained in a zip archive without unpacking it to a temporary location. I can load the image programmatically, does anyone know if there's a way i can set the Image Source to a bitmap/ole handle at run-time.</FONT></P><DIV>&lt;</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>Image</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2> </FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>Width</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>=</FONT></FONT><FONT size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>64</FONT></FONT><FONT size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2> </FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>Height</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>=</FONT></FONT><FONT size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>64</FONT></FONT><FONT size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2> </FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>Source</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>=</FONT></FONT><FONT size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><a href="" target="_blank">file://C:\Research\Images\Png\Explorer.png</FONT></FONT><FONT size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>/</A>&gt;&nbsp; really this will be in a zip archive</DIV></FONT></FONT>]]>
   </description>
   <pubDate>Tue, 10 Aug 2010 14:56:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17096&amp;PID=59725&amp;title=xaml-image-from-code#59725</guid>
  </item> 
 </channel>
</rss>