<?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 HELP!!!&amp;nbsp; Anyone copy/pasted a polygon from one layer to another using silverlight in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-nbsp-anyone-copy-pasted-a-polygon-from-one/m-p/684316#M17582</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone copy/pasted a polygon from one layer to another using Silverlight&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jul 2012 14:40:24 GMT</pubDate>
    <dc:creator>JoseSanchez</dc:creator>
    <dc:date>2012-07-30T14:40:24Z</dc:date>
    <item>
      <title>HELP!!!  Anyone copy/pasted a polygon from one layer to another using silverlight</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-nbsp-anyone-copy-pasted-a-polygon-from-one/m-p/684316#M17582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone copy/pasted a polygon from one layer to another using Silverlight&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 14:40:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-nbsp-anyone-copy-pasted-a-polygon-from-one/m-p/684316#M17582</guid>
      <dc:creator>JoseSanchez</dc:creator>
      <dc:date>2012-07-30T14:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!!!  Anyone copy/pasted a polygon from one layer to another using silverlight</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-nbsp-anyone-copy-pasted-a-polygon-from-one/m-p/684317#M17583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi all&lt;BR /&gt;&lt;BR /&gt;Anyone copy/pasted a polygon from one layer to another using Silverlight&lt;BR /&gt;&lt;BR /&gt;thanks&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This can be done using silverlight too. However you cannot directly add a graphic from one layer to another. You would need to clone the geometry and copy over attributes from LayerAGraphic to LayerBGraphic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Grpahic LayerBGraphic; = new Graphic();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LayerBGraphic.Geometry=ESRI.ArcGIS.Client.Geometry.Geometry.Clone(layerAGraphic.Geometry);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;foreach (var attrib in layerAGraphic.Attributes)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LayerBGraphic.Attributes[attrib.Key] = attrib.Value;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 17:53:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-nbsp-anyone-copy-pasted-a-polygon-from-one/m-p/684317#M17583</guid>
      <dc:creator>PreetiMaske</dc:creator>
      <dc:date>2012-07-30T17:53:11Z</dc:date>
    </item>
  </channel>
</rss>

