protected virtual void JsonStringChanged(SymbolStringChangedEventArgs e) { if (OnSymbolChanged != null) { OnSymbolChanged(this, e); } }
private void UpdateJson() { symbolstring = simplemarkersymbol.ToJSON(); SymbolStringChangedEventArgs newjsonstring = new SymbolStringChangedEventArgs(symbolstring); JsonStringChanged(newjsonstring); }
private void UpdateJson() { symbolstring = simplemarkersymbol.ToJSON(); SymbolStringChangedEventArgs newjsonstring = new SymbolStringChangedEventArgs(symbolstring); JsonStringChanged(newjsonstring); }
protected virtual void JsonStringChanged(SymbolStringChangedEventArgs e) { if (OnSymbolChanged != null) { OnSymbolChanged(this, e); } }
private void StringChanged(object sender, SymbolStringChangedEventArgs e) { // var jsonstring = @"{ // ""type"": ""esriSMS"", // ""style"": ""esriSMSSquare"", // ""color"": [76,115,0,255], // ""size"": 8, // ""angle"": 0, // ""xoffset"": 0, // ""yoffset"": 0, // ""outline"": // { // ""color"": [152,230,0,255], // ""width"": 1 // } //}"; // txtjson.Text = jsonstring; // ucstylepreview.SymbolString = jsonstring; txtjson.Text = e.Symbolstring; ucstylepreview.SymbolString = txtjson.Text; }