<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Draw Symbol as Image in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/draw-symbol-as-image/m-p/253891#M1200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In ArcGIS Runtime you can use&amp;nbsp; SymbolDisplay from Toolkit to show the symbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #a31515;"&gt;esriPrimitives&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #a31515;"&gt;SymbolDisplay&lt;/SPAN&gt; &lt;SPAN style="color: red;"&gt;Height&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;25&lt;/SPAN&gt;" &lt;SPAN style="color: red;"&gt;Width&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;30&lt;/SPAN&gt;" &lt;SPAN style="color: red;"&gt;Symbol&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;{Binding Symbol}&lt;/SPAN&gt;" &lt;SPAN style="color: blue;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Aug 2014 15:41:37 GMT</pubDate>
    <dc:creator>AnttiKajanus1</dc:creator>
    <dc:date>2014-08-21T15:41:37Z</dc:date>
    <item>
      <title>Draw Symbol as Image</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/draw-symbol-as-image/m-p/253890#M1199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Previously in ArcObjects if you wanted to draw a symbol as an image to use as a preview image (i.e. in like a button) you could use this code: &lt;A href="http://forums.esri.com/Thread.asp?c=159&amp;amp;f=1707&amp;amp;t=274921&amp;amp;m=#886181" title="http://forums.esri.com/Thread.asp?c=159&amp;amp;f=1707&amp;amp;t=274921&amp;amp;m=#886181"&gt;preview IMarkerSymbol symbol&lt;/A&gt;‌ however the Symbol class in Runtime does not have the SetupDC, Draw, ResetDC calls in it and I don't see any other properties that would allow binding its image to a button in XAML or code-behind. How would I do the same capability with the symbol classes in ArcGIS Runtime?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Aug 2014 07:35:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/draw-symbol-as-image/m-p/253890#M1199</guid>
      <dc:creator>WayneGuidry</dc:creator>
      <dc:date>2014-08-17T07:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Draw Symbol as Image</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/draw-symbol-as-image/m-p/253891#M1200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In ArcGIS Runtime you can use&amp;nbsp; SymbolDisplay from Toolkit to show the symbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #a31515;"&gt;esriPrimitives&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #a31515;"&gt;SymbolDisplay&lt;/SPAN&gt; &lt;SPAN style="color: red;"&gt;Height&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;25&lt;/SPAN&gt;" &lt;SPAN style="color: red;"&gt;Width&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;30&lt;/SPAN&gt;" &lt;SPAN style="color: red;"&gt;Symbol&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;{Binding Symbol}&lt;/SPAN&gt;" &lt;SPAN style="color: blue;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 15:41:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/draw-symbol-as-image/m-p/253891#M1200</guid>
      <dc:creator>AnttiKajanus1</dc:creator>
      <dc:date>2014-08-21T15:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Draw Symbol as Image</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/draw-symbol-as-image/m-p/253892#M1201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good suggestion from Antti - you can see the source for the SymbolDisplay here: &lt;A href="https://github.com/Esri/arcgis-toolkit-sl-wpf/blob/master/src/CommonAPI/API/ESRI.ArcGIS.Client.Toolkit/Primitives/SymbolDisplay.cs" title="https://github.com/Esri/arcgis-toolkit-sl-wpf/blob/master/src/CommonAPI/API/ESRI.ArcGIS.Client.Toolkit/Primitives/SymbolDisplay.cs"&gt;arcgis-toolkit-sl-wpf/SymbolDisplay.cs at master · Esri/arcgis-toolkit-sl-wpf · GitHub&lt;/A&gt;‌.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option might be to use RenderTargetBitmap if you have the XAML or are building up the symbols programmatically - there is an example on Github from a previous Dev Summit: &lt;A href="https://github.com/Esri/tips-and-tricks-wpf/tree/master/Best-Development-Practices-and-Patterns/PictureMarkerSymbol-From-Wpf/SourceCode" title="https://github.com/Esri/tips-and-tricks-wpf/tree/master/Best-Development-Practices-and-Patterns/PictureMarkerSymbol-From-Wpf/SourceCode"&gt;tips-and-tricks-wpf/Best-Development-Practices-and-Patterns/PictureMarkerSymbol-From-Wpf/SourceCode at master · Esri/tip…&lt;/A&gt;‌ &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 16:08:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/draw-symbol-as-image/m-p/253892#M1201</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2014-08-21T16:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Draw Symbol as Image</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/draw-symbol-as-image/m-p/253893#M1202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both of these ways will be beneficial now and later. Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 03:19:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/draw-symbol-as-image/m-p/253893#M1202</guid>
      <dc:creator>WayneGuidry</dc:creator>
      <dc:date>2014-08-22T03:19:55Z</dc:date>
    </item>
  </channel>
</rss>

