ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Editing Namespace / EditOperation Class / Clip Method / Clip(Layer,IEnumerable<Int64>,Geometry,ClipMode) Method
The layer of the features to be clipped.
The set of oids of the features to be clipped.
The clipping geometry to clip the features.
(Optional) Determines the clipping behavior. (default value = ClipMode.PreserveArea)

In This Topic
    Clip(Layer,IEnumerable<Int64>,Geometry,ClipMode) Method
    In This Topic
    Clip a set of features with a geometry.
    Syntax
    Public Overloads Sub Clip( _
       ByVal layer As Layer, _
       ByVal oids As IEnumerable(Of Long), _
       ByVal clippingGeometry As Geometry, _
       Optional ByVal clipMode As ClipMode _
    ) 

    Parameters

    layer
    The layer of the features to be clipped.
    oids
    The set of oids of the features to be clipped.
    clippingGeometry
    The clipping geometry to clip the features.
    clipMode
    (Optional) Determines the clipping behavior. (default value = ClipMode.PreserveArea)
    Remarks
    Clip intersects a set of features with a geometry. The resulting geometry is determined by the clipFeatureOptions.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also