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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
Relevant samples
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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
Relevant samples
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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.1 - 200.5 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.5 |
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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.1 - 200.5 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.5 |