com.esri.arcgis.carto
Interface IFDOAttributeConversion

All Superinterfaces:
Serializable
All Known Implementing Classes:
FDOGraphicsLayer

public interface IFDOAttributeConversion
extends Serializable

Provides access to members that control the attribute conversion to a FDO graphics layer.

Remarks

SetupAttributeConversion2 should be used with Visual Basic, Java, or the .NET languages. If you are using C++, you can use the SetupAttributeConversion method on IFDOGraphicsLayer.

This method should be called after calling BeginAddElements. BeginAddElements will reset any attribute conversion setup that was established before calling it.

When To Use

When using the DoAddFeature method on IFDOGraphicsLayer to add elements and fields to an annotation feature class, you call SetupAttributeConversion2 to define the field mapping from the source feature to the target annotation feature class.

Product Availability

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

See Also:
IAnnotationFeature

Method Summary
 void setupAttributeConversion2(int numAttributes, Object inputCols, Object outputCols)
          Sets up attribute conversion parameters for batch conversion.
 

Method Detail

setupAttributeConversion2

void setupAttributeConversion2(int numAttributes,
                               Object inputCols,
                               Object outputCols)
                               throws IOException,
                                      AutomationException
Sets up attribute conversion parameters for batch conversion.

Remarks

This method takes the number of fields to match, and and two arrays which define the field mapping. These arrays will have the indexes of the fields from the source feature and the indexes of the matching fields in the target annotation feature class. The inputCols and outputCols input variables should be arrays of 32 bit signed integers.

This method should be called after calling BeginAddElements. BeginAddElements will reset any attribute conversion setup that was established before calling it.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
numAttributes - The numAttributes (in)
inputCols - A Variant (in)
outputCols - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.