ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Geometry Namespace / PolygonBuilderEx Class / PolygonBuilderEx Constructor / PolygonBuilderEx Constructor(IEnumerable<Polygon>,AttributeFlags,SpatialReference)
The polygons. Each part in the polygons will be a part in the new builder.
AttributeFlags to set the HasZ, HasM and HasID attributes. If no attributes should be set, pass AttributeFlags.None. If all attributes should be set, pass AttributeFlags.AllAttributes. Use the bitwise OR operator to set two attributes. For example, to set HasZ = true and HasM = true, pass AttributeFlags.HasZ | AttributeFlags.HasM.
(Optional) The SpatialReference. The default value is null.

In This Topic
    PolygonBuilderEx Constructor(IEnumerable<Polygon>,AttributeFlags,SpatialReference)
    In This Topic
    Initializes a new instance of the PolygonBuilderEx class.
    Syntax

    Parameters

    polygons
    The polygons. Each part in the polygons will be a part in the new builder.
    attributes
    AttributeFlags to set the HasZ, HasM and HasID attributes. If no attributes should be set, pass AttributeFlags.None. If all attributes should be set, pass AttributeFlags.AllAttributes. Use the bitwise OR operator to set two attributes. For example, to set HasZ = true and HasM = true, pass AttributeFlags.HasZ | AttributeFlags.HasM.
    spatialReference
    (Optional) The SpatialReference. The default value is null.
    Exceptions
    ExceptionDescription
    The input polygon enumeration is null.
    Remarks
    The spatial reference of each polygon is ignored.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also