Show / Hide Table of Contents

Constructor EnvelopeBuilder

EnvelopeBuilder(Envelope)

Initializes a new instance of the EnvelopeBuilder class from an existing Envelope.

Declaration
public EnvelopeBuilder(Envelope envelope)
Parameters
Type Name Description
Envelope envelope

Envelope to be used as the starting point for further modifications.

Remarks

The SpatialReference of the new envelope builder will match that of the given Envelope. Use this constructor in workflows that create a modified version of an existing geometry.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8
Relevant samples
Buffer list: Generate multiple individual buffers or a single unioned buffer around multiple points.
Edit and sync features: Synchronize offline edits with a feature service.
Export tiles: Download tiles to a local tile cache file stored on the device.
Find route: Display directions for a route between two points.

EnvelopeBuilder(SpatialReference)

Initializes a new instance of the EnvelopeBuilder class with a SpatialReference and empty geometry.

Declaration
public EnvelopeBuilder(SpatialReference spatialReference)
Parameters
Type Name Description
SpatialReference spatialReference

Spatial reference of the Envelope

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8
Relevant samples
Add graphics with symbols: Use a symbol style to display a graphic on a graphics overlay.
Clip geometry: Clip a geometry with another geometry.
Feature layer query: Find features in a feature table which match an SQL query.

EnvelopeBuilder(MapPoint, MapPoint)

Initializes a new instance of the EnvelopeBuilder class from two diagonal corner MapPoints.

Declaration
public EnvelopeBuilder(MapPoint point1, MapPoint point2)
Parameters
Type Name Description
MapPoint point1

First point

MapPoint point2

Second point

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8

EnvelopeBuilder(Double, Double, Double, Double)

Initializes a new instance of the EnvelopeBuilder class from given diagonal x/y corner coordinates.

Declaration
public EnvelopeBuilder(double x1, double y1, double x2, double y2)
Parameters
Type Name Description
System.Double x1

First X coordinate

System.Double y1

First Y coordinate

System.Double x2

Second X coordinate

System.Double y2

Second Y coordinate

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8

EnvelopeBuilder(Double, Double, Double, Double, SpatialReference)

Initializes a new instance of the EnvelopeBuilder class from given diagonal x/y corner coordinates and a SpatialReference.

Declaration
public EnvelopeBuilder(double x1, double y1, double x2, double y2, SpatialReference spatialReference)
Parameters
Type Name Description
System.Double x1

First X coordinate

System.Double y1

First Y coordinate

System.Double x2

Second X coordinate

System.Double y2

Second Y coordinate

SpatialReference spatialReference

Spatial reference of the Envelope

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8

EnvelopeBuilder(MapPoint, Double, Double)

Initializes a new instance of the EnvelopeBuilder class from a center point, with a defined width and height.

Declaration
public EnvelopeBuilder(MapPoint center, double width, double height)
Parameters
Type Name Description
MapPoint center

The center point for the envelope.

System.Double width

The width of the envelope around the center point.

System.Double height

The height of the envelope around the center point.

Remarks

The SpatialReference of the resulting envelope builder will come from the center point. This spatial reference also determines the unit of measure for the specified width and height values (see Unit).

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.1 - 200.8
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.8

EnvelopeBuilder(MapPoint, Double, Double, Double)

Initializes a new instance of the EnvelopeBuilder class from a center point, with defined width, height, and depth.

Declaration
public EnvelopeBuilder(MapPoint center, double width, double height, double depth)
Parameters
Type Name Description
MapPoint center

The center point for the envelope.

System.Double width

The width of the envelope around the center point.

System.Double height

The height of the envelope around the center point.

System.Double depth

The depth of the envelope around the center point.

Remarks

The SpatialReference of the resulting envelope builder will come from the center point. This spatial reference also determines the unit of measure for the specified width and height values (see Unit). The depth parameter value is assumed to be in meters.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.1 - 200.8
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.8
In This Article
Back to top Copyright © 2022 Esri.