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

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

IAnnotateFeature2 Interface

Provides access to members that control the labeling (annotation) of one feature.

Product Availability

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


IAnnotateFeature2 provides access to method Label of the AnnotateFeature object.  This object is used for low level generation of text elements at the feature level and is not intended to be used in a loop to generate text for an entire layer or map.  IAnnotateFeature2 was added to extend the Label method to take a reference to an object implementing IOverposterProperties.


Name Description
Method Label Labels a feature based on the properties given.

Classes that implement IAnnotateFeature2

Classes Description
AnnotateFeature A renderer for labeling one feature.
MaplexAnnotateFeature (esriMaplex) A renderer for labeling one feature.

See Also

IAnnotateMap2 Interface