Second code snippet for annotation post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
win.Show(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment