ArcGIS Pro 2.7 API Reference Guide
CreatePolygon(SpatialReference) Method

ArcGIS.Core.Geometry Namespace > PolygonBuilder Class > CreatePolygon Method : CreatePolygon(SpatialReference) Method
(Optional) The SpatialReference. The default value is null.
Convenience method to create a new instance of the Polygon class.
Syntax
public static Polygon CreatePolygon( 
   SpatialReference spatialReference
)
Public Overloads Shared Function CreatePolygon( _
   Optional ByVal spatialReference As SpatialReference _
) As Polygon

Parameters

spatialReference
(Optional) The SpatialReference. The default value is null.

Return Value

Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

PolygonBuilder Class
PolygonBuilder Members
Overload List