<?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: Deleting a point when using Draw object in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/deleting-a-point-when-using-draw-object/m-p/23296#M575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am just throwing this out there, I don't know if it will work....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could try to use the GraphicsLayerMouseLeftButtonDown event.&amp;nbsp; That will give you the graphic the user clicked and using the GetPosition method on the EventArgs you could get the point the clicked.&amp;nbsp; Then loop through the point collection in Rings[0] of the polygon to find the vertex closest to where the mouse click occurred and remove it from the point collection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good Luck&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jun 2012 10:03:39 GMT</pubDate>
    <dc:creator>JoeHershman</dc:creator>
    <dc:date>2012-06-20T10:03:39Z</dc:date>
    <item>
      <title>Deleting a point when using Draw object</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/deleting-a-point-when-using-draw-object/m-p/23295#M574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;While drawing a polygon on the map using Client.Draw, is it possible to delete a point after it has been placed? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If not, can it be done using the EditGeometry tool? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps there is some event that exposes an vertex I can attach a right click event to?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Following the example here&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#EditToolsExplicitSave"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#EditToolsExplicitSave&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 23:30:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/deleting-a-point-when-using-draw-object/m-p/23295#M574</guid>
      <dc:creator>JoshPorter</dc:creator>
      <dc:date>2012-06-19T23:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a point when using Draw object</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/deleting-a-point-when-using-draw-object/m-p/23296#M575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am just throwing this out there, I don't know if it will work....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could try to use the GraphicsLayerMouseLeftButtonDown event.&amp;nbsp; That will give you the graphic the user clicked and using the GetPosition method on the EventArgs you could get the point the clicked.&amp;nbsp; Then loop through the point collection in Rings[0] of the polygon to find the vertex closest to where the mouse click occurred and remove it from the point collection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good Luck&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 10:03:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/deleting-a-point-when-using-draw-object/m-p/23296#M575</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2012-06-20T10:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a point when using Draw object</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/deleting-a-point-when-using-draw-object/m-p/23297#M576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ill give it a shot and report back.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the thought!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Josh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 23:41:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/deleting-a-point-when-using-draw-object/m-p/23297#M576</guid>
      <dc:creator>JoshPorter</dc:creator>
      <dc:date>2012-06-21T23:41:50Z</dc:date>
    </item>
  </channel>
</rss>

