Public Overloads Shared Function CreatePolygon( _ ByVal coordinate2Ds As IEnumerable(Of Coordinate2D), _ Optional ByVal spatialReference As SpatialReference _ ) As Polygon
public static Polygon CreatePolygon( IEnumerable<Coordinate2D> coordinate2Ds, SpatialReference spatialReference )
Parameters
- coordinate2Ds
- Coordinates to create the polygon. Line segments are created from the coordinates.
- spatialReference
- (Optional) The SpatialReference. The default value is null.
Return Value
A Polygon.