ArcGIS Pro 3.0 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.
    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

    See Also