This document is archived and information here might be outdated.  Recommended version.

IAnnotationExpressionEngine Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IA > IAnnotationExpressionEngine Interface
ArcGIS Developer Help

IAnnotationExpressionEngine Interface

Provides access to members that work with low level information about a script based labeling expression.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

When To Use

The IAnnotationExpressionEngine interface is implemented by the script engine coclasses. This is a low level interface maintaining information about the labeling expression.

The AppendCode property provides the language specific characters needed to append two strings.

The CreateFunction method creates a simple expression properly formatted for the parser language.

The SetCode and SetExpression are used to set the label expression into the parser.  SetCode is used for adavanced expressions while SetExpression is used for simple expressions.


Name Description
Read-only property AppendCode The code to append.
Method CreateFunction Creates the specified function.
Read-only property Name The name of the expression engine.
Method SetCode The function to base labels on.
Method SetExpression The expression to base labels on.

Classes that implement IAnnotationExpressionEngine

Classes Description
AnnotationJScriptEngine An object tha parses annotation expressions using JScript.
AnnotationPythonEngine An object tha parses annotation expressions using Python Script.
AnnotationVBScriptEngine An object that parses annotation expressions using VBScript.
HotLinkJScriptEngine An object tha parses hotlink expressions using JScript.
HotLinkPythonEngine An object tha parses hotlink expressions using Python.
HotLinkVBScriptEngine An object that parses hotlink expressions using VBScript.

See Also

ILabelEngineLayerProperties Interface