public static Multipoint CreateMultipoint( IEnumerable<MapPoint> points, AttributeFlags attributes, SpatialReference spatialReference )
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
- AttributeFlags to set the HasZ, HasM and HasID properties. 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. 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
A Multipoint.