AnsweredAssumed Answered

AddVertex issue

Question asked by bigbear8888 on Nov 18, 2014
Latest reply on Nov 24, 2014 by GDeStigter-esristaff

We would like to add a vertex to the editor from code behind.  We would like the first point to be fixed and the user select the second point.  We are unable to get the AddVertex command to execute.

 

Task t = this.Editor.RequestShapeAsync(Esri.ArcGISRuntime.Controls.DrawShape.Polygon);

this.Editor.AddVertex.Execute(new MapPoint(0, 0));

 

We receive an ArgumentException was unhandled by user code, "Cannot execute command."

Outcomes