com.esri.arcgis.carto
Interface IAnnotationElement

All Superinterfaces:
Serializable
All Known Implementing Classes:
AnnotationElement, IAnnotationElementProxy

public interface IAnnotationElement
extends Serializable

Provides access to members that control Annotation Features.

When To Use

The IAnnotationElement interface maintains information about an annotation feature.

Example:

// Assume that we have a FeatureClass reference (fC)...
IAnnotationFeature pAnnotationFeature = null;
IAnnotationElement pAnnotationElement = null;  
    
pAnnotationFeature = new IAnnotationFeatureProxy(fC.getFeature(1));
pAnnotationElement = new IAnnotationElementProxy(pAnnotationFeature.getAnnotation());

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
IAnnotationFeature

Method Summary
 IFeature getFeature()
          The feature associated with this element.
 

Method Detail

getFeature

IFeature getFeature()
                    throws IOException,
                           AutomationException
The feature associated with this element.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.IFeature
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.