<?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 : Generate image from xaml</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : Generate image from xaml]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 02:14:48 +0000</pubDate>
  <lastBuildDate>Mon, 09 May 2011 03:34:27 +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=18061</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[Generate image from xaml : some idea for capture the part...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18061&amp;PID=64279&amp;title=generate-image-from-xaml#64279</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6596">mlg</a><br /><strong>Subject:</strong> 18061<br /><strong>Posted:</strong> 09 May 2011 at 3:34am<br /><br />some idea for capture the part of the image that is not visible?]]>
   </description>
   <pubDate>Mon, 09 May 2011 03:34:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18061&amp;PID=64279&amp;title=generate-image-from-xaml#64279</guid>
  </item> 
  <item>
   <title><![CDATA[Generate image from xaml :   However, please correct me...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18061&amp;PID=63578&amp;title=generate-image-from-xaml#63578</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4627">Andrew666</a><br /><strong>Subject:</strong> 18061<br /><strong>Posted:</strong> 26 March 2011 at 4:21pm<br /><br />However, please correct me if I'm wrong, but there's no way to capture the part of the image that is not visible (if there is any) - e.g. in the situation where the XAML is clipped in the application window.&nbsp; <div>&nbsp;</div><div>--A</div>]]>
   </description>
   <pubDate>Sat, 26 Mar 2011 16:21:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18061&amp;PID=63578&amp;title=generate-image-from-xaml#63578</guid>
  </item> 
  <item>
   <title><![CDATA[Generate image from xaml : thank you!!  ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18061&amp;PID=63525&amp;title=generate-image-from-xaml#63525</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6596">mlg</a><br /><strong>Subject:</strong> 18061<br /><strong>Posted:</strong> 24 March 2011 at 7:22am<br /><br />thank you!!]]>
   </description>
   <pubDate>Thu, 24 Mar 2011 07:22:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18061&amp;PID=63525&amp;title=generate-image-from-xaml#63525</guid>
  </item> 
  <item>
   <title><![CDATA[Generate image from xaml : You can use the PrintToDc method...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18061&amp;PID=63517&amp;title=generate-image-from-xaml#63517</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 18061<br /><strong>Posted:</strong> 23 March 2011 at 8:56pm<br /><br />You can use the PrintToDc method of the MarkupLabel controlto draw to a PictureBox or form, and then use the SavePicture method to save that image.<br><br>Something like:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>Option Explicit<br><br>Private Sub Form_Load()<br>&nbsp;&nbsp; Const c_XamlFile As String = "C:\Program Files\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v15.0.1\Utils\Markups\ColoredToucan.xaml"<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; Dim l_Ff As Integer<br>&nbsp;&nbsp; Dim l_Xaml As String<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; l_Xaml = Space$(FileLen(c_XamlFile))<br>&nbsp;&nbsp; l_Ff = FreeFile<br>&nbsp;&nbsp; Open c_XamlFile For Binary Access Read As #l_Ff<br>&nbsp;&nbsp; Get #l_Ff, , l_Xaml<br>&nbsp;&nbsp; Close #l_Ff<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; Me.Picture1.AutoRedraw = True<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; With Me.MarkupLabel1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Caption = l_Xaml<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .PrintToDC Me.Picture1.hDC, 0, 0, Me.Picture1.ScaleWidth \ Screen.TwipsPerPixelX, Me.Picture1.ScaleHeight \ Screen.TwipsPerPixelY<br>&nbsp;&nbsp; End With<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; SavePicture Me.Picture1.Image, "C:\test.bmp"<br>End Sub<br></pre></td></tr></table><br>]]>
   </description>
   <pubDate>Wed, 23 Mar 2011 20:56:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18061&amp;PID=63517&amp;title=generate-image-from-xaml#63517</guid>
  </item> 
  <item>
   <title><![CDATA[Generate image from xaml : Hi!There are some control or method...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18061&amp;PID=63340&amp;title=generate-image-from-xaml#63340</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6596">mlg</a><br /><strong>Subject:</strong> 18061<br /><strong>Posted:</strong> 16 March 2011 at 6:38am<br /><br />Hi!<br><br>There are some control or method for generate image from xaml and i can save the image?<br><br><br>&nbsp;I have version 15.<br><br>Thanks!<br>]]>
   </description>
   <pubDate>Wed, 16 Mar 2011 06:38:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18061&amp;PID=63340&amp;title=generate-image-from-xaml#63340</guid>
  </item> 
 </channel>
</rss>