ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Geometry Namespace / GeometryEngine Class / AutoComplete Method
The polygon to complete.
The polyline used to complete the input polygon.

AutoComplete Method (GeometryEngine)
Constructs a polygon that fills in the gaps between the existing polygon and polyline.
Syntax

Parameters

inputPolygon
The polygon to complete.
completionLine
The polyline used to complete the input polygon.

Return Value

The polygon representing the completed area.
Exceptions
ExceptionDescription
Either inputPolygonor completionLineor both are null or empty.
The method is not implemented for GeometryBag.
Spatial reference of inputPolygonis null.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also