public class GeometryBagBuilderEx : GeometryBuilderEx
Public Class GeometryBagBuilderEx Inherits GeometryBuilderEx
public class GeometryBagBuilderEx : GeometryBuilderEx
Public Class GeometryBagBuilderEx Inherits GeometryBuilderEx
Use the GeometryBagBuilderEx class to to create a GeometryBag shape. A GeometryBag is based upon the parent Geometry class. Use the GeometryBagBuilderEx.ToGeometry method to get the GeometryBag geometry from the builder.
The spatial reference of the GeometryBagBuilderEx is transferred to the GeometryBag and any geometries it contains after calling GeometryBagBuilderEx.ToGeometry. However, the spatial reference of the added geometry is ignored, and is not transferred to the GeometryBagBuilderEx. Adding a geometry that is not in the domain of the spatial reference could lead to unexpected results.
An Envelope is converted to a Polygon when a GeometryBag is created by calling GeometryBagBuilderEx.ToGeometry. As a result, when retrieving an Envelope from a GeometryBag, it will be a Polygon.
System.Object
ArcGIS.Core.Geometry.GeometryBuilderEx
ArcGIS.Core.Geometry.GeometryBagBuilderEx
Target Platforms: Windows 11, Windows 10