I am using the sample code (draw a polygon on the screen) provided by Esri but it seems I cannot start the drawing from a location I want, every time it starts at wherever the function(or tool) located on map.
Anybody know how to draw a polygon as desired? Any example there?
Best Answer
Here's something I put together from the link you posted and another link that you will see commented out in the code. When you click on the map it will draw a square 10x10 map units from where you clicked. I work in metres so this draws a reasonably sized graphic.
Create an add-in with a tool and add this to the class.