请问,maplayout应该如何做添加文字内容,可以修改文字内容,拉伸修改大小,并能换行?
我才用action.createText方法,效果不太好,不能变成多行,不能拉伸放大缩小:
代码:     mapLayoutControl.LayoutAction = SuperMap.UI.Action.CreateText;
            mapLayoutControl.Tracked += mapLayoutControl_Tracked;
  void mapLayoutControl_Tracked(object sender, TrackedEventArgs e)
        {
          
            GeoText geoText = e.Geometry as GeoText;
            TextStyle style = new TextStyle();
            style.Alignment = TextAlignment.MiddleCenter;
            style.FontName = "宋体";
            //style.FontHeight = 4;
            geoText.TextStyle = style;
                String text = "";
                text = this.textBox2.Text;
           
                geoText[0].Text = text;
        }
想实现和idesktop 中布局视图添加文本那种效果,应该如何实现?
