ArcGIS Pro 2.7 API Reference Guide
ConstructPolygons(EditingTemplate,Layer,IEnumerable<Int64>,Nullable<Double>,Boolean) Method

ArcGIS.Desktop.Editing Namespace > EditOperation Class > ConstructPolygons Method : ConstructPolygons(EditingTemplate,Layer,IEnumerable<Int64>,Nullable<Double>,Boolean) Method
Editing template used to create the feature.
The layer of the source polylines.
The oids of the source polylines.
(optional) The cluster tolerance used while constructing polygons. (default value = null)
Include the boundaries of existing polygons as source polylines.
Constructs polygons in a template using the specified polylines.
Syntax
Public Overloads Sub ConstructPolygons( _
   ByVal template As EditingTemplate, _
   ByVal layer As Layer, _
   ByVal oids As IEnumerable(Of Long), _
   ByVal tolerance As Nullable(Of Double), _
   ByVal autoComplete As Boolean _
) 

Parameters

template
Editing template used to create the feature.
layer
The layer of the source polylines.
oids
The oids of the source polylines.
tolerance
(optional) The cluster tolerance used while constructing polygons. (default value = null)
autoComplete
Include the boundaries of existing polygons as source polylines.
Exceptions
ExceptionDescription
Template and layer cannot be null.
Insufficient license. This method requires a standard license.
Remarks
The units of the tolerance are assumed to be the units of the template layer's spatial reference XY Tolerance. ArcGIS.Core.Geometry.SpatialReference.XYTolerance
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

EditOperation Class
EditOperation Members
Overload List