编辑SDE注记图层AnnotationLayer,修改注记后,注记图层不显示了(编辑本地数据库中的数据没有这个问题)

自己写的注记编辑Tool,选择注记要素后,弹出注记编辑窗体,如下图:

1.png

 
然后应用编辑并刷新视图后,注记图层不显示了,入下图:

2.png

 
应用编辑的代码:
            ITextElement pTextElement = this.AnnotationFeature.Annotation as ITextElement;
            pTextElement.Text = this.txtTextString.Text;
            pTextElement.Symbol = pTextSymbol;
            this.AnnotationFeature.Annotation = pTextElement as IElement;
            IFeature pFeature = this.AnnotationFeature as IFeature;
            pFeature.Store();
已邀请:

朱新颖

赞同来自:

1,本地FileGDB中的数据和该SDE数据是相同的吗?
2,开启SDE编辑会话用的什么方法?

要回复问题请先登录注册