ArcGIS Pro 2.6 API Reference Guide
AutoComplete Method (IGeometryEngine)

ArcGIS.Core.Geometry Namespace > IGeometryEngine Interface : 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
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, Windows 7

See Also

Reference

IGeometryEngine Interface
IGeometryEngine Members