ArcGIS Pro 2.6 API Reference Guide
CreatePolygon(Multipoint,SpatialReference) Method

ArcGIS.Core.Geometry Namespace > PolygonBuilder Class > CreatePolygon Method : CreatePolygon(Multipoint,SpatialReference) Method
The multipoint to create the polygon.
(Optional) The SpatialReference. The default value is null. If spatialReference is null, then the spatial reference will be inherited from multipoint.
Convenience method to create a new instance of the Polygon class.
Syntax
Public Overloads Shared Function CreatePolygon( _
   ByVal multipoint As Multipoint, _
   Optional ByVal spatialReference As SpatialReference _
) As Polygon

Parameters

multipoint
The multipoint to create the polygon.
spatialReference
(Optional) The SpatialReference. The default value is null. If spatialReference is null, then the spatial reference will be inherited from multipoint.

Return Value

Exceptions
ExceptionDescription
multipoint is null.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

PolygonBuilder Class
PolygonBuilder Members
Overload List