Exemplo n.º 1
0
 protected virtual void JsonStringChanged(SymbolStringChangedEventArgs e)
 {
     if (OnSymbolChanged != null)
     {
         OnSymbolChanged(this, e);
     }
 }
Exemplo n.º 2
0
        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); }
 }
Exemplo n.º 5
0
        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;
        }