aht505

add graphics symbols to the map

Discussion created by aht505 on Oct 16, 2011
Latest reply on Oct 18, 2011 by aht505
I am trying to automate this workflow

1. User clicks on mytool
2. The user uses that tool to select a junction-valve
3. My tool should draw some type of graphic at that point.

I tried using DrawPoint, but it just draws on a temporary purpose, if user pans/zooms the map, that point goes off...
IScreenDisplay screenDisplay =imxdoc.ActiveView.ScreenDisplay;
screenDisplay.DrawPoint(b);
screenDisplay.DrawPoint(pPoint);

Is there any way i can control the graphics on the map? Like draw some symbol and remove it whenever i want it to be removed?

thanks a lot

Outcomes