This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IF > IFDOGraphicsLayer2 Interface > IFDOGraphicsLayer2.SetupAttributeConversion Method (ArcObjects .NET 10.4 SDK) |
Sets up attribute conversion parameters for batch conversion.
[Visual Basic .NET] Public Sub SetupAttributeConversion ( _ ByVal numAttributes As Integer, _ ByRef inputCols As Integer, _ ByRef outputCols As Integer _ )
[C#] public void SetupAttributeConversion ( int numAttributes, ref int inputCols, ref int outputCols );
[C++]
HRESULT SetupAttributeConversion(
long numAttributes,
long* inputCols,
long* outputCols
);
[C++]
Parameters numAttributes [in] numAttributes is a parameter of type long inputCols [in] inputCols is a parameter of type long outputCols [in] outputCols is a parameter of type long
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.
This method should be called after calling BeginAddElements. BeginAddElements will reset any attribute conversion setup that was established ,before calling it.
This method cannot be called from Visual Basic, Java, or the .NET languages. Instead, use the SetupAttributeConversion2 interface on IFDOAttributeConversion.