ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / IGeometryEngine Interface / AutoComplete Method
The polygon to complete.
The polyline used to complete the input polygon.

In This Topic
    AutoComplete Method (IGeometryEngine)
    In This Topic
    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. If inputPolygon or completionLine are empty, then null is returned.
    Exceptions
    ExceptionDescription
    Either inputPolygonor completionLineor both are null.
    The method is not implemented for GeometryBag.
    Spatial reference of inputPolygonis null.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also