1、注记的添加需要拿到IGeoFeatureLayer接口下的AnnotationProperties属性,转为IAnnotationLayerPropertiesCollection接口,并创建一个IBasicOverposterLayerProperties对象,加入上面那个属性中去。

2、IGeoFeatureLayer.DisplayAnnotation= true或者=false并不能直接关闭或者打开显示注记。

3、要让注记不显示,目前来看需要axMapcontrol.ActiveView.GraphicsContainer.DeleteAllElements();

相关文章:

  • 2021-05-04
  • 2021-12-16
  • 2022-01-06
  • 2021-06-07
  • 2021-04-17
  • 2021-07-21
  • 2022-12-23
猜你喜欢
  • 2021-07-30
  • 2021-12-06
  • 2021-08-29
  • 2022-12-23
  • 2022-12-23
  • 2021-05-15
  • 2022-12-23
相关资源
相似解决方案