This document is archived and information here might be outdated.  Recommended version.

IFeatureConstruction.AutoCompleteFromFeatures Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IFeatureConstruction Interface > IFeatureConstruction.AutoCompleteFromFeatures Method
ArcGIS Developer Help

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 _
public void AutoCompleteFromFeatures (
    IFeatureClass FeatureClass,
    IEnvelope processingBounds,
    IEnumFeature lineSrc,
    IInvalidArea InvalidArea,
    double ClusterTolerance,
    IWorkspace selectionWorkspace,
    ref ISelectionSet SelectionSet
HRESULT AutoCompleteFromFeatures(
  IFeatureClass* FeatureClass,
  IEnvelope* processingBounds,
  IEnumFeature* lineSrc,
  IInvalidArea* InvalidArea,
  double ClusterTolerance,
  IWorkspace* selectionWorkspace,
  ISelectionSet** SelectionSet

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.


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