AnsweredAssumed Answered

VB.NET Samples Code Error

Question asked by robicham on May 21, 2015
Latest reply on May 22, 2015 by robicham

From the Code Examples Page I'm trying to workthrough the Editor_Sketching sample. However, when I get to the following line it gives an error "End of Statement expected". Can anyone show me my error? I've tried several combinations but I just can;'t get this line working. The sample does not work without it so I really need an answer on something to try...

Dim myGeometry As Esri.ArcGISRuntime.Geometry.Geometry = Await Mapview1.Editor.RequestShapeAsync(Esri.ArcGISRuntime.Controls.DrawShape.Point)

 

Every one of these lines gives the same error! Does anyone have working VB.NET code for Drawing a graphic that works? Thanks.

Outcomes