ArcGIS Pro 2.9 API Reference Guide
Clip(Layer,Int64,Geometry,ClipMode) Method

ArcGIS.Desktop.Editing Namespace > EditOperation Class > Clip Method : Clip(Layer,Int64,Geometry,ClipMode) Method
The layer of the feature to be clipped.
The oid of the feature to be clipped.
The clipping geometry to clip the feature.
(optional) Determines the clipping behavior. (default value = ClipMode.PreserveArea)
Clip a feature with a geometry.
Syntax
Public Overloads Sub Clip( _
   ByVal layer As Layer, _
   ByVal oid As Long, _
   ByVal bufferClipGeometry As Geometry, _
   Optional ByVal clipFeatureOptions As ClipMode _
) 

Parameters

layer
The layer of the feature to be clipped.
oid
The oid of the feature to be clipped.
bufferClipGeometry
The clipping geometry to clip the feature.
clipFeatureOptions
(optional) Determines the clipping behavior. (default value = ClipMode.PreserveArea)
Remarks
Clip intersects a feature with a geometry. The resulting geometry is determined by the clipFeatureOptions.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

EditOperation Class
EditOperation Members
Overload List