ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Geometry Namespace / GeometryBagBuilderEx Class / CreateGeometryBag Method / CreateGeometryBag(GeometryBagBuilderEx,SpatialReference) Method
The GeometryBagBuilderEx to copy
(Optional) The SpatialReference. The default value is null. If the input spatial reference is null, then the spatial reference from the input builder is used.
Version

    CreateGeometryBag(GeometryBagBuilderEx,SpatialReference) Method
    Convenience method to create a new instance of the GeometryBag class.
    Syntax

    Parameters

    geometryBagBuilderEx
    The GeometryBagBuilderEx to copy
    spatialReference
    (Optional) The SpatialReference. The default value is null. If the input spatial reference is null, then the spatial reference from the input builder is used.
    Exceptions
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also