<?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 : Use SVG file in Markup from resources</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Use SVG file in Markup from resources]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 11:12:47 +0000</pubDate>
  <lastBuildDate>Wed, 12 Mar 2025 05:21:19 +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=24534</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[Use SVG file in Markup from resources : Unfortunately, I did not find...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24534&amp;PID=79161&amp;title=use-svg-file-in-markup-from-resources#79161</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9697">KrustyKrab</a><br /><strong>Subject:</strong> 24534<br /><strong>Posted:</strong> 12 March 2025 at 5:21am<br /><br />Unfortunately, I did not find a solution yet. I hope that this will be supported with a future Codejock update.<div><br></div><div>Thanks for the information about png and bmp resources&nbsp;<img src="http://forum.codejock.com/smileys/smiley20.gif" border="0" alt="Thumbs Up" title="Thumbs Up" /></div>]]>
   </description>
   <pubDate>Wed, 12 Mar 2025 05:21:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24534&amp;PID=79161&amp;title=use-svg-file-in-markup-from-resources#79161</guid>
  </item> 
  <item>
   <title><![CDATA[Use SVG file in Markup from resources : Did you find a solution yet?I&amp;#039;m...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24534&amp;PID=79145&amp;title=use-svg-file-in-markup-from-resources#79145</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2876">DavidH</a><br /><strong>Subject:</strong> 24534<br /><strong>Posted:</strong> 17 February 2025 at 3:18pm<br /><br /><div>Did you find a solution yet?</div><div><br></div><div>I'm trying to get this working too, but no success so far.</div><div>It seems to work with png and bmp resources:</div><div><br></div><div>In source file:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div>CXTPMarkupStatic m_wndTitle;</div><div>m_wndTitle.SetMarkupTextEx(_T("&lt;Image Source='res://IDC_IMAGE' VerticalAlignment='Center'/&gt;"));</div><div></pre></td></tr></table></div><div><br></div><div>In resource (.rc) file:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div>IDC_IMAGE PNG&nbsp; "drag32.png"</div><div></pre></td></tr></table></div><div><br></div><div><br></div><div>Unfortunately, nothing happens with .xaml or .svg resources.</div><div><br></div>]]>
   </description>
   <pubDate>Mon, 17 Feb 2025 15:18:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24534&amp;PID=79145&amp;title=use-svg-file-in-markup-from-resources#79145</guid>
  </item> 
  <item>
   <title><![CDATA[Use SVG file in Markup from resources : Using Codejock 24.0.0 I want to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24534&amp;PID=79088&amp;title=use-svg-file-in-markup-from-resources#79088</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9697">KrustyKrab</a><br /><strong>Subject:</strong> 24534<br /><strong>Posted:</strong> 13 December 2024 at 4:55am<br /><br /><div>Using Codejock 24.0.0 I want to use a SVG image directly in Markup code by accessing from the resources. The goal is to create a custom Markup code with different (text) elements and SVG images.</div><div><br></div><div>I figured out that I can use the file path to my SVG image in Markup. The following is working fine and the SVG image is displayed.</div><div><div><span style="white-space: normal;"><span style="white-space:pre">	</span><table width="99%"><tr><td><pre class="BBcode">CString string = </span>_T("&lt;Image Width='100' Height='100' Source='C:\\myFile.svg'/&gt;");</div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>m_wndStatic.SetMarkupText(</span>string<span style="white-space: normal;">);</span></div><div></pre></td></tr></table></div></div><div><br></div><div>Now I would like to use a resource ID to use my SVG file in Markup but the following does not work for me:</div><div><div><span style="white-space: pre;">	</span><table width="99%"><tr><td><pre class="BBcode">CString string =&nbsp;_T("&lt;Image Width='100' Height='100' Source='IDR_MY_SVG'/&gt;");</div><div><span style="white-space: pre;">	</span>m_wndStatic.SetMarkupText(string);</div><div></pre></td></tr></table></div></div><div><br></div><div>What can I do to use my SVG image directly in Markup code by using a resource ID?</div><div><br></div>]]>
   </description>
   <pubDate>Fri, 13 Dec 2024 04:55:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24534&amp;PID=79088&amp;title=use-svg-file-in-markup-from-resources#79088</guid>
  </item> 
 </channel>
</rss>