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


IAnnotateFeature2 Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

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.

Description

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.

Members

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

CoClasses that implement IAnnotateFeature2

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

See Also

IAnnotateMap2 Interface