private void DrawCompleteHandler(object sender, DrawEventArgs args) { _currentPoint = args.Geometry as MapPoint; TextSymbolPropsWindow win = new TextSymbolPropsWindow(); win.EditMode = false; win.Closed += new EventHandler(win_Closed); win.Show(); }
private void ChangeTextHandler(object sender, RoutedEventArgs e) { //Graphic g = sender as Graphic; _currentPoint = Ambient.SelectedSymbol.Geometry as MapPoint; TextSymbol ts = Ambient.SelectedSymbol.Symbol as TextSymbol; TextSymbolPropsWindow win = new TextSymbolPropsWindow(); win.TextFont = ts.FontFamily.Source; win.TextFontSize = ts.FontSize; win.Annotation = ts.Text; win.EditMode = true; win.Closed += new EventHandler(win_Closed); win.Show(); }