ArcObjects Library Reference (GeoDatabase)  

IFeatureConstruction.ConstructLinesFromCursor Method

Adds line to a feature class, using a feature cursor as the feature source. The cursor can return features from the target feature class, in which case the original features will be deleted. -1 for c.t. means use c.t. of target sr.

[Visual Basic .NET]
Public Sub ConstructLinesFromCursor ( _
    ByVal cancel As ICancelOperation, _
    ByVal targetFC As IFeatureClass, _
    ByVal sel As IFeatureCursor, _
    ByVal replaceExistingInTarget As Boolean, _
    ByVal InvalidArea As IInvalidArea, _
    ByVal ClusterTolerance As Double _
)
[C#]
public void ConstructLinesFromCursor (
    ICancelOperation cancel,
    IFeatureClass targetFC,
    IFeatureCursor sel,
    bool replaceExistingInTarget,
    IInvalidArea InvalidArea,
    double ClusterTolerance
);
[C++]
HRESULT ConstructLinesFromCursor(
  ICancelOperation* cancel,
  IFeatureClass* targetFC,
  IFeatureCursor* sel,
  VARIANT_BOOL replaceExistingInTarget,
  IInvalidArea* InvalidArea,
  double ClusterTolerance
);
[C++]

Parameters

cancel

  cancel is a parameter of type ICancelOperation

targetFC

  targetFC is a parameter of type IFeatureClass

sel

  sel is a parameter of type IFeatureCursor

replaceExistingInTarget   replaceExistingInTarget is a parameter of type VARIANT_BOOL InvalidArea

  InvalidArea is a parameter of type IInvalidArea

ClusterTolerance   ClusterTolerance is a parameter of type double

Product Availability

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

Remarks

This method is similar to IFeatureConstruction::ConstructLines, but uses a FeatureCursor for defining input features; thus only features from a single feature class can be planarized. This version is useful for standalone applications that dont have access to a map selection object (or anything else that supports IEnumFeature).

See Also

IFeatureConstruction Interface