ArcGIS Pro 2.6 API Reference Guide
Reshape Method (GeometryEngine)

ArcGIS.Core.Geometry Namespace > GeometryEngine Class : Reshape Method
The geometry to be reshaped.
The reshaper.
Reshapes a polygon or polyline with a single path polyline.
Syntax
Public Function Reshape( _
   ByVal multipart As Multipart, _
   ByVal reshaper As Polyline _
) As Multipart

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, Windows 7

See Also

Reference

GeometryEngine Class
GeometryEngine Members