ArcGIS Pro 2.9 API Reference Guide
CreateMultipoint(IEnumerable<MapPoint>,AttributeFlags,SpatialReference) Method

ArcGIS.Core.Geometry Namespace > MultipointBuilderEx Class > CreateMultipoint Method : CreateMultipoint(IEnumerable<MapPoint>,AttributeFlags,SpatialReference) Method
The points of the newly created multipoint.
The AttributeFlags specifies the attributes of the newly created multipoint. For performance reasons, the attributes of the input points are not used. However, if an attribute is specified, then the attribute values of the input points is used. For example, if AttributeFlags.HasZ is specified, then the z-values of the input points is used for the newly created multipoint.
(Optional) The spatial reference of the newly created multipoint. The default value is null. For performance reasons, the spatial references of the input points are not checked nor are they used. To avoid undefined behavior, make sure that the spatial references of the input points are compatible or null.
Convenience method to quickly create an instance of the Multipoint class.
Syntax
Public Overloads Shared Function CreateMultipoint( _
   ByVal points As IEnumerable(Of MapPoint), _
   ByVal attributes As AttributeFlags, _
   Optional ByVal spatialReference As SpatialReference _
) As Multipoint

Parameters

points
The points of the newly created multipoint.
attributes
The AttributeFlags specifies the attributes of the newly created multipoint. For performance reasons, the attributes of the input points are not used. However, if an attribute is specified, then the attribute values of the input points is used. For example, if AttributeFlags.HasZ is specified, then the z-values of the input points is used for the newly created multipoint.
spatialReference
(Optional) The spatial reference of the newly created multipoint. The default value is null. For performance reasons, the spatial references of the input points are not checked nor are they used. To avoid undefined behavior, make sure that the spatial references of the input points are compatible or null.

Return Value

Exceptions
ExceptionDescription
points is null.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

MultipointBuilderEx Class
MultipointBuilderEx Members
Overload List