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
cancelcancel is a parameter of type ICancelOperation
targetFCtargetFC is a parameter of type IFeatureClass
selsel is a parameter of type IFeatureCursor
replaceExistingInTarget replaceExistingInTarget is a parameter of type VARIANT_BOOL InvalidAreaInvalidArea is a parameter of type IInvalidArea
ClusterTolerance ClusterTolerance is a parameter of type double
Product Availability
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).