How can I access pictures drawn by ControlsNewFreeHandToolClass?

Discussion created by smunoz on Jun 8, 2012
Latest reply on Jun 11, 2012 by smunoz
Hello everyone,

I need to allow user to draw anything on the map. I have achieved this with the ControlsNewFreeHandToolClass, so when user click on the button and after that he clicks and drag, a new picture is drawn:

ICommand pCommand = new ControlsNewFreeHandToolClass();
map.CurrentTool = pCommand as ITool;

The problem now is, how can I access the picture? I mean, what if I want to resize it, or remove it, or move it? It has to exist an object anywhere representing that picture... Actually, after drawing the picture, a square appears surrounding the picture, with eight points, as if I could drag and click on them...


Besides that, what if I want to change the line color, or size, before drawing? Is it possible?

Thank you very much in advance, the API is not very useful, at least in this case...