<?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: AGSTextSymbol missing properties after encodeToJSON in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agstextsymbol-missing-properties-after/m-p/169110#M1575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for reporting that. We plan to fix it in the next release.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jun 2014 15:18:57 GMT</pubDate>
    <dc:creator>DiveshGoyal</dc:creator>
    <dc:date>2014-06-11T15:18:57Z</dc:date>
    <item>
      <title>AGSTextSymbol missing properties after encodeToJSON</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agstextsymbol-missing-properties-after/m-p/169109#M1574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Some properties are missing after encoding a text symbol to JSON. Most notably the color and borderLineWidth. This makes it difficult to rehydrate the symbol later. Example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;AGSTextSymbol *textSymbol = [[AGSTextSymbol alloc] initWithText:@"Hello World" color:[UIColor redColor]]; textSymbol.fontSize = 14; textSymbol.borderLineWidth = 4; textSymbol.borderLineColor = [[AGSColor alloc] initWithRed:1 green:1 blue:1 alpha:.8]; NSDictionary *dict = [textSymbol encodeToJSON]; NSData *data = [NSJSONSerialization dataWithJSONObject:dict options:NSJSONWritingPrettyPrinted error:nil]; NSString *json = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]; NSLog(@"%@", json);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Results in this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;{ &amp;nbsp; "text" : "Hello World", &amp;nbsp; "type" : "esriTS", &amp;nbsp; "backgroundColor" : [ &amp;nbsp;&amp;nbsp;&amp;nbsp; 0, &amp;nbsp;&amp;nbsp;&amp;nbsp; 0, &amp;nbsp;&amp;nbsp;&amp;nbsp; 0, &amp;nbsp;&amp;nbsp;&amp;nbsp; 0 &amp;nbsp; ], &amp;nbsp; "verticalAlignment" : "middle", &amp;nbsp; "horizontalAlignment" : "center", &amp;nbsp; "borderLineColor" : [ &amp;nbsp;&amp;nbsp;&amp;nbsp; 255, &amp;nbsp;&amp;nbsp;&amp;nbsp; 255, &amp;nbsp;&amp;nbsp;&amp;nbsp; 255, &amp;nbsp;&amp;nbsp;&amp;nbsp; 204 &amp;nbsp; ], &amp;nbsp; "font" : { &amp;nbsp;&amp;nbsp;&amp;nbsp; "weight" : "normal", &amp;nbsp;&amp;nbsp;&amp;nbsp; "style" : "normal", &amp;nbsp;&amp;nbsp;&amp;nbsp; "size" : 14, &amp;nbsp;&amp;nbsp;&amp;nbsp; "decoration" : "none", &amp;nbsp;&amp;nbsp;&amp;nbsp; "family" : "Helvetica" &amp;nbsp; } }&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 16:31:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agstextsymbol-missing-properties-after/m-p/169109#M1574</guid>
      <dc:creator>JamesRichards1</dc:creator>
      <dc:date>2014-06-10T16:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: AGSTextSymbol missing properties after encodeToJSON</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agstextsymbol-missing-properties-after/m-p/169110#M1575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for reporting that. We plan to fix it in the next release.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 15:18:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agstextsymbol-missing-properties-after/m-p/169110#M1575</guid>
      <dc:creator>DiveshGoyal</dc:creator>
      <dc:date>2014-06-11T15:18:57Z</dc:date>
    </item>
  </channel>
</rss>

