Method CombineExtents
CombineExtents(Geometry, Geometry)
Returns the envelope of the two given geometries.
Declaration
public static Envelope CombineExtents(Geometry geometry1, Geometry geometry2)
Parameters
| Type | Name | Description |
|---|---|---|
| Geometry | geometry1 | A geometry object. |
| Geometry | geometry2 | Another geometry object. |
Returns
| Type | Description |
|---|---|
| Envelope | The maximum extents of the two given geometries. |
Remarks
The given geometries must have consistent spatial references.
Supports true curves.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.1 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 100.15 |
CombineExtents(IEnumerable<Geometry>)
Returns the envelope of geometries in the given collection.
Declaration
public static Envelope CombineExtents(IEnumerable<Geometry> geometries)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<Geometry> | geometries | A collection of geometries. |
Returns
| Type | Description |
|---|---|
| Envelope | The maximum extents of the geometries in the collection. |
Remarks
The geometries must have consistent spatial references.
Supports true curves.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.1 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 100.14 |
Relevant samples
Add ENC exchange set: Display nautical charts per the ENC specification.
Change ENC display settings: Configure the display of ENC content.
Select ENC features: Select features in an ENC layer.