<?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 Determining symbol size for Symbol.CreateSwatchAsync in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/determining-symbol-size-for-symbol/m-p/525298#M6447</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to render a Symbol to an Image(Source). For that I can use &lt;A href="https://developers.arcgis.com/net/desktop/api-reference/html/M_Esri_ArcGISRuntime_Symbology_Symbol_CreateSwatchAsync_2.htm"&gt;Symbol.CreateSwatchAsync&lt;/A&gt;​. There is no overload that would determine the size of the rendered image automatically (&lt;A href="https://developers.arcgis.com/net/store/api-reference/html/M_Esri_ArcGISRuntime_Symbology_Symbol_CreateSwatchAsync.htm" title="https://developers.arcgis.com/net/store/api-reference/html/M_Esri_ArcGISRuntime_Symbology_Symbol_CreateSwatchAsync.htm"&gt;Symbol.CreateSwatchAsync Method &lt;/A&gt; without any parameters defaults to 32x32 pixels with 96 dpi, which also throws an NotImplementedException when used?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some symbols need to be rendered at a larger size than others (for instance symbols that depend their size on an attribute value). I do not know up front what type of symbol I need to generate the image for (could be a simple one, or a size dependant one). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;- Is there a way to determine the actual rendered size for a symbol upfront so it can be passed into Symbol.CreateSwatchAsync?&lt;/P&gt;&lt;P&gt;- Is there some other smart way to render symbols, independent of size?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 May 2016 10:12:10 GMT</pubDate>
    <dc:creator>Michaelvan_der_Veeken</dc:creator>
    <dc:date>2016-05-11T10:12:10Z</dc:date>
    <item>
      <title>Determining symbol size for Symbol.CreateSwatchAsync</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/determining-symbol-size-for-symbol/m-p/525298#M6447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to render a Symbol to an Image(Source). For that I can use &lt;A href="https://developers.arcgis.com/net/desktop/api-reference/html/M_Esri_ArcGISRuntime_Symbology_Symbol_CreateSwatchAsync_2.htm"&gt;Symbol.CreateSwatchAsync&lt;/A&gt;​. There is no overload that would determine the size of the rendered image automatically (&lt;A href="https://developers.arcgis.com/net/store/api-reference/html/M_Esri_ArcGISRuntime_Symbology_Symbol_CreateSwatchAsync.htm" title="https://developers.arcgis.com/net/store/api-reference/html/M_Esri_ArcGISRuntime_Symbology_Symbol_CreateSwatchAsync.htm"&gt;Symbol.CreateSwatchAsync Method &lt;/A&gt; without any parameters defaults to 32x32 pixels with 96 dpi, which also throws an NotImplementedException when used?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some symbols need to be rendered at a larger size than others (for instance symbols that depend their size on an attribute value). I do not know up front what type of symbol I need to generate the image for (could be a simple one, or a size dependant one). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;- Is there a way to determine the actual rendered size for a symbol upfront so it can be passed into Symbol.CreateSwatchAsync?&lt;/P&gt;&lt;P&gt;- Is there some other smart way to render symbols, independent of size?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 10:12:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/determining-symbol-size-for-symbol/m-p/525298#M6447</guid>
      <dc:creator>Michaelvan_der_Veeken</dc:creator>
      <dc:date>2016-05-11T10:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Determining symbol size for Symbol.CreateSwatchAsync</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/determining-symbol-size-for-symbol/m-p/525299#M6448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would using UniqueValueRenderer work with symbols that have the different sizes in the symbol definitions through PictureMarkerSymbol height and width?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 10:17:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/determining-symbol-size-for-symbol/m-p/525299#M6448</guid>
      <dc:creator>AnttiKajanus1</dc:creator>
      <dc:date>2016-05-11T10:17:28Z</dc:date>
    </item>
  </channel>
</rss>

