ArcObjects Library Reference  (Carto)    

IFDOGraphicsLayer.SetupAttributeConversion Method

Sets up attribute conversion parameters for batch conversion.

[Visual Basic 6.0]
Sub SetupAttributeConversion(
    ByVal numAttributes As Long, _
    inputCols As Long, _
    outputCols As Long _
)
[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
);
[Java]
public void setupAttributeConversion (
    int numAttributes,
    int inputCols,
    int outputCols
)
throws
    IOException,
    AutomationException
[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

Product Availability

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

Remarks

This method takes the number of fields to match, and and two arrays which defined 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. Instead, use the SetupAttributeConversion2 interface on IFDOAttributeConversion.

See Also

IFDOGraphicsLayer Interface

 


Feedback Send feedback on this page