Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Second code snippet for annotation post
private void DrawCompleteHandler(object sender, DrawEventArgs args)
_currentPoint = args.Geometry as MapPoint; //capture the point that where the mouse was clicked
TextSymbolPropsWindow win = new TextSymbolPropsWindow(); //My child window. This can be any you define.
win.EditMode = false; //this tells the window that this is a new annotation
win.Closed += new EventHandler(win_Closed); //subscribe to the window's Closed event
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment