<?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 : European Union Energy Label</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Chart Control : European Union Energy Label]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 22 May 2026 19:40:59 +0000</pubDate>
  <lastBuildDate>Mon, 21 Feb 2011 01:16:35 +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=17917</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[European Union Energy Label : Yes, MarkupLabel has own Font...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17917&amp;PID=62818&amp;title=european-union-energy-label#62818</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17917<br /><strong>Posted:</strong> 21 February 2011 at 1:16am<br /><br />Yes, MarkupLabel has own Font property that will be used as default.<div><br></div><div>To be sure you have same font you can specify it on top of Markup object:</div><div><br></div><div>s = "&lt;StackPanel <b>TextElement.FontFamily='Tahoma'</b>&gt;"</div>]]>
   </description>
   <pubDate>Mon, 21 Feb 2011 01:16:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17917&amp;PID=62818&amp;title=european-union-energy-label#62818</guid>
  </item> 
  <item>
   <title><![CDATA[European Union Energy Label :   jpbro wrote:It seems to render...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17917&amp;PID=62813&amp;title=european-union-energy-label#62813</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2720">Albert1</a><br /><strong>Subject:</strong> 17917<br /><strong>Posted:</strong> 20 February 2011 at 3:03pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by jpbro" alt="Originally posted by jpbro" style="vertical-align: text-bottom;" /> <strong>jpbro wrote:</strong><br /><br />It seems to render properly for me. If it still doesn't look the same, can you post a screenshot?</td></tr></table> <DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>above is markup label</DIV><DIV>below is the picturebox.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><img src="http://forum.codejock.com/uploads/2720/Untitled.jpg" height="263" width="555" border="0" /></DIV>]]>
   </description>
   <pubDate>Sun, 20 Feb 2011 15:03:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17917&amp;PID=62813&amp;title=european-union-energy-label#62813</guid>
  </item> 
  <item>
   <title><![CDATA[European Union Energy Label : Sorry, just saw your message...try...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17917&amp;PID=62793&amp;title=european-union-energy-label#62793</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 17917<br /><strong>Posted:</strong> 18 February 2011 at 1:45pm<br /><br />Sorry, just saw your message...try .Width / Screen.TwipsPerPixelX, .Height / Screen.TwipsPerPixelY (unless you are already using pixels for your ScaleMode). It seems to render properly for me. If it still doesn't look the same, can you post a screenshot?]]>
   </description>
   <pubDate>Fri, 18 Feb 2011 13:45:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17917&amp;PID=62793&amp;title=european-union-energy-label#62793</guid>
  </item> 
  <item>
   <title><![CDATA[European Union Energy Label : If you are drawing to a PictureBox...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17917&amp;PID=62792&amp;title=european-union-energy-label#62792</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 17917<br /><strong>Posted:</strong> 18 February 2011 at 1:42pm<br /><br />If you are drawing to a PictureBox hDc it appears you have to refresh the PictureBox to get the image to appear, so:<br><br>Me.Picture1.AutoRedraw = True<br>Me.MarkupLabel1.PrintToDc Me.Picture1.Hdc, 0, 0, Me.Picture1.ScaleWidth, Me.Picture1.ScaleHeight<br>Me.Picture1.AutoRedraw = False<br><b>Me.Picture1.Refresh</b><br>]]>
   </description>
   <pubDate>Fri, 18 Feb 2011 13:42:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17917&amp;PID=62792&amp;title=european-union-energy-label#62792</guid>
  </item> 
  <item>
   <title><![CDATA[European Union Energy Label : I got it work:     Dim s As...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17917&amp;PID=62791&amp;title=european-union-energy-label#62791</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2720">Albert1</a><br /><strong>Subject:</strong> 17917<br /><strong>Posted:</strong> 18 February 2011 at 12:58pm<br /><br />I got it work: <DIV>&nbsp;</DIV><DIV><table width="99%"><tr><td><pre class="BBcode"></DIV><DIV>Dim s As String</DIV><DIV>s = "&lt;StackPanel&gt;"<BR>s = s &amp; "&lt;TextBlock TextWrapping=""Wrap"" FontSize=""30"" Background=""Red"" FontWeight=""Bold""&gt;"<BR>s = s &amp; "Baseline&lt;Run FontSize=""20"" BaselineAlignment=""Top""&gt;2&lt;/Run&gt;"</DIV><DIV>s = s &amp; "&lt;InlineUIContainer BaselineAlignment=""Bottom""&gt;&lt;Border Width=""20"" Height=""20"" Background=""Gold""/&gt;"<BR>s = s &amp; "&lt;/InlineUIContainer&gt;&lt;InlineUIContainer BaselineAlignment=""Center""&gt;&lt;Border Width=""20"" Height=""20"" Background=""Green""/&gt;"<BR>s = s &amp; "&lt;/InlineUIContainer&gt;&lt;InlineUIContainer BaselineAlignment=""Top""&gt; &lt;Border Width=""20"" Height=""20"" Background=""White""/&gt;&lt;/InlineUIContainer&gt;"</DIV><DIV>s = s &amp; "&lt;Run&gt;Sample Text&lt;/Run&gt;"<BR>s = s &amp; "&lt;/TextBlock&gt;"<BR>s = s &amp; "&lt;/StackPanel&gt;"</DIV><DIV>Picture1.AutoRedraw = True<BR>With MarkupLabel1<BR>&nbsp;&nbsp;&nbsp; .Caption = s<BR>&nbsp;&nbsp;&nbsp; .PrintToDC Picture1.hDC, 0, 0, .Width, .Height<BR>End With<BR></DIV><DIV></pre></td></tr></table></DIV><DIV>&nbsp;</DIV><DIV>strange: markuplabel and picturebox render pretty different&nbsp; <img src="http://forum.codejock.com/smileys/smiley5.gif" height="17" width="17" border="0" alt="C&#111;nfused" title="C&#111;nfused" /> </DIV><DIV>&nbsp;</DIV><DIV>Tomorrow I will&nbsp; create the label and post here the code.</DIV><DIV>&nbsp;</DIV><DIV>TY jpbro</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 18 Feb 2011 12:58:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17917&amp;PID=62791&amp;title=european-union-energy-label#62791</guid>
  </item> 
  <item>
   <title><![CDATA[European Union Energy Label : Let me experiment with PrintToDc...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17917&amp;PID=62790&amp;title=european-union-energy-label#62790</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 17917<br /><strong>Posted:</strong> 18 February 2011 at 11:44am<br /><br />Let me experiment with PrintToDc and get back to you shortly.]]>
   </description>
   <pubDate>Fri, 18 Feb 2011 11:44:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17917&amp;PID=62790&amp;title=european-union-energy-label#62790</guid>
  </item> 
  <item>
   <title><![CDATA[European Union Energy Label : I think so. Even if I wish only...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17917&amp;PID=62789&amp;title=european-union-energy-label#62789</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2720">Albert1</a><br /><strong>Subject:</strong> 17917<br /><strong>Posted:</strong> 18 February 2011 at 11:41am<br /><br /><P>I think so. Even if I wish only to get the "simple" graph, better with 3d effect ;)</P><DIV>btw are you abel to use the PrintToDc to transfer the image in a PictureBox? </DIV><DIV>No example and no help (-:</DIV><DIV>&nbsp;</DIV><DIV>I did a search on the forum and found some of your posts but without coming to a solution.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 18 Feb 2011 11:41:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17917&amp;PID=62789&amp;title=european-union-energy-label#62789</guid>
  </item> 
  <item>
   <title><![CDATA[European Union Energy Label : I would recommend the MarkupLabel...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17917&amp;PID=62788&amp;title=european-union-energy-label#62788</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 17917<br /><strong>Posted:</strong> 18 February 2011 at 10:56am<br /><br />I would recommend the MarkupLabel - it can handle the Grid (Table), images, colours (using Border objects), Shapes, Fonts, etc...]]>
   </description>
   <pubDate>Fri, 18 Feb 2011 10:56:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17917&amp;PID=62788&amp;title=european-union-energy-label#62788</guid>
  </item> 
  <item>
   <title><![CDATA[European Union Energy Label : any ideas to get the &amp;#034;energy...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17917&amp;PID=62787&amp;title=european-union-energy-label#62787</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2720">Albert1</a><br /><strong>Subject:</strong> 17917<br /><strong>Posted:</strong> 18 February 2011 at 10:47am<br /><br /><DIV>any ideas to get the "energy label graph"? Or should I use MarkUpLabel?</DIV><DIV>&nbsp;</DIV><DIV><img src="http://upload.wikimedia.org/wikipedia/comm&#111;ns/b/bb/EU_energy_label.png" height="784" width="354" border="0" /></DIV><DIV></DIV>]]>
   </description>
   <pubDate>Fri, 18 Feb 2011 10:47:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17917&amp;PID=62787&amp;title=european-union-energy-label#62787</guid>
  </item> 
 </channel>
</rss>