ArcObjects Library Reference (GeoDatabase)  

IFeatureConstruction.AutoCompleteFromFeatures Method

Adds polygons to the specified feature class by combining existing polygons with the specified line source.

[Visual Basic .NET]
Public Sub AutoCompleteFromFeatures ( _
    ByVal FeatureClass As IFeatureClass, _
    ByVal processingBounds As IEnvelope, _
    ByVal lineSrc As IEnumFeature, _
    ByVal InvalidArea As IInvalidArea, _
    ByVal ClusterTolerance As Double, _
    ByVal selectionWorkspace As IWorkspace, _
    ByRef SelectionSet As ISelectionSet _
)
[C#]
public void AutoCompleteFromFeatures (
    IFeatureClass FeatureClass,
    IEnvelope processingBounds,
    IEnumFeature lineSrc,
    IInvalidArea InvalidArea,
    double ClusterTolerance,
    IWorkspace selectionWorkspace,
    ref ISelectionSet SelectionSet
);
[C++]
HRESULT AutoCompleteFromFeatures(
  IFeatureClass* FeatureClass,
  IEnvelope* processingBounds,
  IEnumFeature* lineSrc,
  IInvalidArea* InvalidArea,
  double ClusterTolerance,
  IWorkspace* selectionWorkspace,
  ISelectionSet** SelectionSet
);
[C++]

Parameters

FeatureClass

  FeatureClass is a parameter of type IFeatureClass

processingBounds

  processingBounds is a parameter of type IEnvelope

lineSrc

  lineSrc is a parameter of type IEnumFeature

InvalidArea

  InvalidArea is a parameter of type IInvalidArea

ClusterTolerance   ClusterTolerance is a parameter of type double selectionWorkspace

  selectionWorkspace is a parameter of type IWorkspace

SelectionSet [out]

  SelectionSet is a parameter of type ISelectionSet

Product Availability

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

Remarks

This method is similar to ConstructPolygonsFromFeatures, but existing polygons in the target polygon feature class will never be overlapped by constructed polygons, therefore, the processing bounds parameter should never be set to null.

The optional output SelectionSet contains references to all constructed polygons. If the SelectionSet is defined, then the selection workspace parameter must also be defined and will contain the selection set.

See Also

IFeatureConstruction Interface