ArcGIS Pro 2.7 API Reference Guide
Reshape Method (IGeometryEngine)

ArcGIS.Core.Geometry Namespace > IGeometryEngine Interface : Reshape Method
The geometry to be reshaped.
The reshaper.
Reshapes a polygon or polyline with a single path polyline.
Syntax

Parameters

multipart
The geometry to be reshaped.
reshaper
The reshaper.

Return Value

The reshaped multipart geometry.
Exceptions
ExceptionDescription
Either multipartor reshaperor both are null or empty.
Incompatible spatial references between the input geometries.
The reshaper polyline must have exactly one part.
Remarks
The output geometry takes the shape of the input multipart where it first intersects the reshaper to the last intersection. The first and last intersection points of the reshaper are chosen closest to the end points of the reshaper in the case that multiple intersections are found. The output geometry may not be simple. If the geometry cannot be reshaped by the input reshaper, then null will be returned.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

IGeometryEngine Interface
IGeometryEngine Members