ArcGIS Pro 2.6 API Reference Guide
CreateMultipoint(Polygon,SpatialReference) Method

ArcGIS.Core.Geometry Namespace > MultipointBuilder Class > CreateMultipoint Method : CreateMultipoint(Polygon,SpatialReference) Method
Polygon whose points will comprise the multipoint.
(Optional) The SpatialReference. The default value is null. If spatialReference is null, then the spatial reference will be inherited from polygon.
Convenience method to quickly create a Multipoint instance.
Syntax
public static Multipoint CreateMultipoint( 
   Polygon polygon,
   SpatialReference spatialReference
)
Public Overloads Shared Function CreateMultipoint( _
   ByVal polygon As Polygon, _
   Optional ByVal spatialReference As SpatialReference _
) As Multipoint

Parameters

polygon
Polygon whose points will comprise the multipoint.
spatialReference
(Optional) The SpatialReference. The default value is null. If spatialReference is null, then the spatial reference will be inherited from polygon.

Return Value

Exceptions
ExceptionDescription
polygon is null.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

MultipointBuilder Class
MultipointBuilder Members
Overload List