arcengine Label expression(设置复杂的标注)

当用jscript写时,需要设置           

IAnnotationExpressionEngine pAee = new AnnotationJScriptEngineClass();

(pAnnoLayerProps as ILabelEngineLayerProperties).ExpressionParser = pAee;

一般情况下错误都是expression语法出现错误,多加几个空格就没问题了。
用vbscript写时,不用设置。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章