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

当用jscript写时,需要设置           

IAnnotationExpressionEngine pAee = new AnnotationJScriptEngineClass();

(pAnnoLayerProps as ILabelEngineLayerProperties).ExpressionParser = pAee;

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

你可能感兴趣的:(VBScript)