摘要:
基本过程如下,但是需要注意的是labelEngine的Expression属性:依据某字段标注时,一定要加上中括号,即“[属性字段名称]”View Code 1 private void Annotation(IGeoFeatureLayer pGeoFeatLyr, string annoField, ITextSymbol textSyl, bool disLabel) 2 { 3 try 4 { 5 IAnnotateLayerPropertiesCollection pAn...
阅读全文