public static Polygon CreatePolygon( Envelope envelope, SpatialReference spatialReference )
Public Overloads Shared Function CreatePolygon( _ ByVal envelope As Envelope, _ Optional ByVal spatialReference As SpatialReference _ ) As Polygon
Parameters
- envelope
- The envelope to create the polygon. Note that if the envelope has z-values, they will be interpolated for the upper right and lower left vertices.
- spatialReference
- (Optional) The SpatialReference. The default value is null. If spatialReference is null, then the spatial reference will be inherited from envelope.
Return Value
A Polygon.