<?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: Military DictionarySymbolStyle Error in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/military-dictionarysymbolstyle-error/m-p/60262#M648</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same issue after downgrading, which I expected after your last message. &amp;nbsp;I will create a small standalone app and see if I can get it to work. &amp;nbsp;I will let you know what I find.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Aug 2017 21:05:43 GMT</pubDate>
    <dc:creator>RobertGoodwin1</dc:creator>
    <dc:date>2017-08-10T21:05:43Z</dc:date>
    <item>
      <title>Military DictionarySymbolStyle Error</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/military-dictionarysymbolstyle-error/m-p/60257#M643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;I was following your example located here (&lt;A href="https://developers.arcgis.com/net/latest/wpf/guide/display-military-symbols-with-a-dictionary-renderer.htm#ESRI_SECTION1_819827E7F7034CF9BBC42F1AD582DA85"&gt;Display military symbols with a dictionary renderer&lt;/A&gt;) in order to display Military Symbols based on the DictionaryRenderer. &amp;nbsp;I get an error when attempting to Open the Symbol Style as follows:&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;SymbolStyle ss = await SymbolStyle.OpenAsync(@"D:\Source\MapEngine\ESRI\mil2525d.stylx");&lt;BR /&gt; DictionarySymbolStyle dss = ss as DictionarySymbolStyle;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;The first line executes properly, but the second line fails ( assigns a null value) when assigning the SymbolStyle to the DictionaryStyle. &amp;nbsp;I downloaded the styles from here: &amp;nbsp;(&lt;A href="http://solutions.arcgis.com/defense/help/military-symbology-styles/"&gt;http://solutions.arcgis.com/defense/help/military-symbology-styles/&lt;/A&gt;)&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Am I missing something here? &amp;nbsp;I am on 100.1 of the .NET SDK. &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 20:08:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/military-dictionarysymbolstyle-error/m-p/60257#M643</guid>
      <dc:creator>RobertGoodwin1</dc:creator>
      <dc:date>2017-08-10T20:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Military DictionarySymbolStyle Error</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/military-dictionarysymbolstyle-error/m-p/60258#M644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Runtime Qt 100 installed, the file "&lt;SPAN&gt;mil2525d.stylx&lt;/SPAN&gt;" comes with the installation. So I grabbed the file and used your code in .Net application. it works for me. Not sure whether .stylx file is corrupted. Attached is the file for your reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nagma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 20:23:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/military-dictionarysymbolstyle-error/m-p/60258#M644</guid>
      <dc:creator>NagmaYasmin</dc:creator>
      <dc:date>2017-08-10T20:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Military DictionarySymbolStyle Error</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/military-dictionarysymbolstyle-error/m-p/60259#M645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your file was different, but I got the same result. &amp;nbsp;I am on 100.1 of the API. &amp;nbsp;I may try downgrading to 100.0 to see if I get the same results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 20:32:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/military-dictionarysymbolstyle-error/m-p/60259#M645</guid>
      <dc:creator>RobertGoodwin1</dc:creator>
      <dc:date>2017-08-10T20:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Military DictionarySymbolStyle Error</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/military-dictionarysymbolstyle-error/m-p/60260#M646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I downloaded you file from the link and I used 100.1 .Net API and I don't see any issue. Even the size of the two files are different, both of those&amp;nbsp;works without any issue at my side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nagma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 20:43:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/military-dictionarysymbolstyle-error/m-p/60260#M646</guid>
      <dc:creator>NagmaYasmin</dc:creator>
      <dc:date>2017-08-10T20:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Military DictionarySymbolStyle Error</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/military-dictionarysymbolstyle-error/m-p/60261#M647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting. &amp;nbsp;I am at a loss. &amp;nbsp;Trying to think of what I may have incorrect that would cause a simple assignment to result in a null. &amp;nbsp;I would understand of the first one failed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 20:56:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/military-dictionarysymbolstyle-error/m-p/60261#M647</guid>
      <dc:creator>RobertGoodwin1</dc:creator>
      <dc:date>2017-08-10T20:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Military DictionarySymbolStyle Error</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/military-dictionarysymbolstyle-error/m-p/60262#M648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same issue after downgrading, which I expected after your last message. &amp;nbsp;I will create a small standalone app and see if I can get it to work. &amp;nbsp;I will let you know what I find.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 21:05:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/military-dictionarysymbolstyle-error/m-p/60262#M648</guid>
      <dc:creator>RobertGoodwin1</dc:creator>
      <dc:date>2017-08-10T21:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Military DictionarySymbolStyle Error</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/military-dictionarysymbolstyle-error/m-p/60263#M649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right. It is giving null . My code was executed, so I didn't realize it. But when I try to get the properties as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Console.WriteLine(dss.TextFieldNames);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting exception. Sorry for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nagma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 21:10:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/military-dictionarysymbolstyle-error/m-p/60263#M649</guid>
      <dc:creator>NagmaYasmin</dc:creator>
      <dc:date>2017-08-10T21:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Military DictionarySymbolStyle Error</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/military-dictionarysymbolstyle-error/m-p/60264#M650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calling as below, I am able to see all the information related to that "mil2525d" symbol properties. I am using your stylx&amp;nbsp;for&amp;nbsp;testing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var dss = await DictionarySymbolStyle.OpenAsync("mil2525d", @"&amp;lt;folder_path&amp;gt;\mil2525d.stylx");&lt;BR /&gt; Console.WriteLine(dss.TextFieldNames[0].ToString());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;result: "additionalinformation"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/net/latest/wpf/api-reference//html/M_Esri_ArcGISRuntime_Symbology_DictionarySymbolStyle_OpenAsync.htm" title="https://developers.arcgis.com/net/latest/wpf/api-reference//html/M_Esri_ArcGISRuntime_Symbology_DictionarySymbolStyle_OpenAsync.htm"&gt;DictionarySymbolStyle.OpenAsync Method&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nagma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 21:50:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/military-dictionarysymbolstyle-error/m-p/60264#M650</guid>
      <dc:creator>NagmaYasmin</dc:creator>
      <dc:date>2017-08-10T21:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Military DictionarySymbolStyle Error</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/military-dictionarysymbolstyle-error/m-p/60265#M651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did it. &amp;nbsp;Thank you so much. &amp;nbsp;I saw the OpenASynnc On the DictionarySymbolStyle, but ended up following the web site instead. &amp;nbsp;I have a couple more questions, but I will create a new question within the Forum. &amp;nbsp;Thanks again for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 22:29:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/military-dictionarysymbolstyle-error/m-p/60265#M651</guid>
      <dc:creator>RobertGoodwin1</dc:creator>
      <dc:date>2017-08-10T22:29:14Z</dc:date>
    </item>
  </channel>
</rss>

