ArcGIS Pro 2.8 API Reference Guide
AutoComplete Method (GeometryEngine)

ArcGIS.Core.Geometry Namespace > GeometryEngine Class : AutoComplete Method
The polygon to complete.
The polyline used to complete the input polygon.
Constructs a polygon that fills in the gaps between the existing polygon and polyline.
Syntax
Public Function AutoComplete( _
   ByVal inputPolygon As Polygon, _
   ByVal completionLine As Polyline _
) As Polygon

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

See Also

Reference

GeometryEngine Class
GeometryEngine Members