Clips features.
[Visual Basic 6.0] Function Clip(
ByVal inputTable As ITable, _
ByVal useSelectedInput As Boolean, _
ByVal clipTable As ITable, _
ByVal useSelectedClip As Boolean, _
ByVal Tolerance As Double, _
ByVal outputName As IFeatureClassName _
) As IFeatureClass
[Visual Basic .NET] Public Function Clip ( _ ByVal inputTable As ITable, _ ByVal useSelectedInput As Boolean, _ ByVal clipTable As ITable, _ ByVal useSelectedClip As Boolean, _ ByVal Tolerance As Double, _ ByVal outputName As IFeatureClassName _ ) As IFeatureClass
[C#] public IFeatureClass Clip ( ITable inputTable, bool useSelectedInput, ITable clipTable, bool useSelectedClip, double Tolerance, IFeatureClassName outputName );
[Java] public IFeatureClass clip ( ITable inputTable, Boolean useSelectedInput, ITable clipTable, Boolean useSelectedclip, double Tolerance, IFeatureClassName outputName ) throws IOException, AutomationException
[C++] HRESULT Clip( ITable* inputTable, VARIANT_BOOL useSelectedInput, ITable* clipTable, VARIANT_BOOL useSelectedClip, double Tolerance, IFeatureClassName* outputName, IFeatureClass** resultFC );
Parameters
inputTable [in]
inputTable is a parameter of type ITable
useSelectedInput [in]
useSelectedInput is a parameter of type VARIANT_BOOL
clipTable [in]
clipTable is a parameter of type ITable
useSelectedClip [in]
useSelectedClip is a parameter of type VARIANT_BOOL
Tolerance [in]
Tolerance is a parameter of type double
outputName [in]
outputName is a parameter of type IFeatureClassName
resultFC [out, retval]
resultFC is a parameter of type IFeatureClass
Clip extracts features of a point, line, or polygon layer based on the spatial extent of an overlay polygon layer. The attributes of the input feature class are carried over to the output feature class.
The useSelectedInput state refers to whether or not a selected subset of the InputTable is to be clipped. True signifies that a selected subset will be clipped. False signifies that clip operation will ignore any selected subset.
The useSelectedClip state refers to whether or not a selected subset of the clipTable is to be used in the clip operation. True signifies that the selected subset will serve as the clip layer. False signifies that the clip operation will ignore any selected subset.
Passing 0.0 causes the default tolerance to be used. The default tolerance is 1/10,000 of the extent of the data frame's spatial domain.