public static Polygon CreatePolygon( Polyline polyline, SpatialReference spatialReference )
Public Overloads Shared Function CreatePolygon( _ ByVal polyline As Polyline, _ Optional ByVal spatialReference As SpatialReference _ ) As Polygon
Parameters
- polyline
- The polyline 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 polyline.
Return Value
A Polygon.