ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Editing Namespace / EditOperation Class / Reshape Method / Reshape(SelectionSet,Geometry) Method
The set of features to reshape.
Reshape the features with this geometry.
Example Version

Reshape(SelectionSet,Geometry) Method
Reshape a set of features with a geometry.
Syntax
public void Reshape( 
   SelectionSet features,
   Geometry reshapeGeometry
)

Parameters

features
The set of features to reshape.
reshapeGeometry
Reshape the features with this geometry.
Example
Edit Operation Reshape Features
var reshapeFeatures = new EditOperation() { Name = "Reshape Features" };

reshapeFeatures.Reshape(featureLayer, oid, modifyLine);

//Reshape a set of features that intersect some geometry....

//at 2.x - var selFeatures = MapView.Active.GetFeatures(modifyLine).Select(
//    k => new KeyValuePair<MapMember, List<long>>(k.Key as MapMember, k.Value));
//reshapeFeatures.Reshape(selFeatures, modifyLine);

reshapeFeatures.Reshape(MapView.Active.GetFeatures(modifyLine), modifyLine);

//Execute to execute the operation
//Must be called within QueuedTask.Run
if (!reshapeFeatures.IsEmpty)
{
  var result = reshapeFeatures.Execute(); //Execute and ExecuteAsync will return true if the operation was successful and false if not
}

//or use async flavor
//await reshapeFeatures.ExecuteAsync();
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also