ReverseOrientation Method (MultipartBuilderEx)
Changes the direction of the parts without changing the spatial position of the parts.
The start point and end point of each segment in each part are interchanged.
Reverse the order of points in a Polyline
{
var polylineBuilder = new PolylineBuilderEx(polyline);
polylineBuilder.ReverseOrientation();
Polyline reversedPolyline = polylineBuilder.ToGeometry();
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)
ArcGIS Pro version: 3.0 or higher.