ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Editing Namespace / EditOperation Class / ConstructPolygons Method / ConstructPolygons(EditingTemplate,SelectionSet,Nullable<Double>,Boolean) Method
Editing template used to create the feature.
The set of source polyline features
The cluster tolerance used while constructing polygons.
Include the boundaries of existing polygons as source polylines.

In This Topic
    ConstructPolygons(EditingTemplate,SelectionSet,Nullable<Double>,Boolean) Method
    In This Topic
    Constructs polygons in a template using the specified polylines.
    Syntax
    Public Overloads Sub ConstructPolygons( _
       ByVal template As EditingTemplate, _
       ByVal features As SelectionSet, _
       ByVal tolerance As Nullable(Of Double), _
       ByVal autoComplete As Boolean _
    ) 

    Parameters

    template
    Editing template used to create the feature.
    features
    The set of source polyline features
    tolerance
    The cluster tolerance used while constructing polygons.
    autoComplete
    Include the boundaries of existing polygons as source polylines.
    Exceptions
    ExceptionDescription
    Template and features cannot be null.
    Insufficient license. This method requires a standard license.
    Remarks

    If the tolerance is null, then the default will be to use the template layer's spatial reference XY Tolerance.

    The tolerance is assumed to be in the units of the template layer's spatial reference XY Tolerance.

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also