ArcGIS Pro 2.9 API Reference Guide
CreateEnvelope(Coordinate2D,Coordinate2D,SpatialReference) Method
Example 

ArcGIS.Core.Geometry Namespace > EnvelopeBuilder Class > CreateEnvelope Method : CreateEnvelope(Coordinate2D,Coordinate2D,SpatialReference) Method
Lower left corner of the envelope.
Upper right corner of the envelope.
(Optional) The SpatialReference. The default value is null.
Convenience method to create a new instance of the Envelope class.
Syntax
Public Overloads Shared Function CreateEnvelope( _
   ByVal minCoord As Coordinate2D, _
   ByVal maxCoord As Coordinate2D, _
   Optional ByVal spatialReference As SpatialReference _
) As Envelope

Parameters

minCoord
Lower left corner of the envelope.
maxCoord
Upper right corner of the envelope.
spatialReference
(Optional) The SpatialReference. The default value is null.

Return Value

Remarks
The resulting envelope is normalized to ensure its XMin <= XMax, YMin <= YMax. If any of the xy-coordinate values are NaN, then the envelope is set to empty.
Example
// determine intersection between two polygons

Envelope env1 = EnvelopeBuilder.CreateEnvelope(new Coordinate2D(3.0, 2.0), new Coordinate2D(6.0, 6.0));
Polygon poly1 = PolygonBuilder.CreatePolygon(env1);

Envelope env2 = EnvelopeBuilder.CreateEnvelope(new Coordinate2D(1.0, 1.0), new Coordinate2D(4.0, 4.0));
Polygon poly2 = PolygonBuilder.CreatePolygon(env2);

Polygon polyResult = GeometryEngine.Instance.Intersection(poly1, poly2) as Polygon;
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

EnvelopeBuilder Class
EnvelopeBuilder Members
Overload List