ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Editing Namespace / EditOperation Class / Clip Method / Clip(Layer,IEnumerable<Int64>,Geometry,ClipMode,Boolean) 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.
Determines the clipping behavior.
Determines when features that are coincident with the clipGeometry boundary, should be retained or removed in certain circumstances.

In This Topic
    Clip(Layer,IEnumerable<Int64>,Geometry,ClipMode,Boolean) Method
    In This Topic
    Clip a set of features with a geometry.
    Syntax

    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
    Determines the clipping behavior.
    keepCoincident
    Determines when features that are coincident with the clipGeometry boundary, should be retained or removed in certain circumstances.
    Remarks
    Clip intersects a set of features with a geometry. The resulting geometry is determined by the clipFeatureOptions.
    For ClipMode DiscardArea only, when the clippingGeometry is a polygon, and keepCoincident is true, clipping retains point or line features that are coincident with the polygon clip boundary.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.7 or higher.
    See Also