ArcObjects Library Reference (Carto)  

ILabelEngineLayerProperties2 Interface

Provides access to some of the main properties for labeling features.

Product Availability

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

Members

Description
Read/write property AnnotationClassID The ID of the annotation class.
Read/write property BasicOverposterLayerProperties The overposter properties, which specify how labels are placed relative to features.
Read/write property Expression The VBScript or JScript expression that evaluates and formats the label.
Read/write property ExpressionParser The object that interprets the expression.
Read/write property IsExpressionSimple Indicates if the expression is simple.
Read/write property Offset The offset between the label and the feature.
Read/write property OverposterLayerProperties The overposter properties, which specify how labels are placed relative to features.
Read/write property Symbol The text symbol used to draw the label.
Read/write property SymbolID The ID of the group symbol used to draw the label.

CoClasses that implement ILabelEngineLayerProperties2

CoClasses and Classes Description
LabelEngineLayerProperties A container for the properties of feature labels.
MaplexLabelEngineLayerProperties Properties that specify the labeling of a layer and conversion of labels to annotation.

Remarks

ILabelEngineLayerProperties2::OverposterLayerProperties is the generic way to get to the labeling properties for a layer. Depending on if the layer is being labeled with the ESRI Maplex Labeling Engine or the ESRI Standard Labeling Engine, this property will return either a MaplexOverposterLayerProperties object or a BasicOverposterLayerProperties object.