Show / Hide Table of Contents

Method CombineExtents

CombineExtents(Geometry, Geometry)

Returns the envelope of the two given geometries.

Declaration
public static Envelope CombineExtents(this 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

Supports true curves.

Applies to

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

CombineExtents(IEnumerable<Geometry>)

Returns the envelope of geometries in the given collection.

Declaration
public static Envelope CombineExtents(this IEnumerable<Geometry> geometries)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<Geometry> geometries

A collection of geometries.

Returns
Type Description
Envelope

The maximum extents of the geometries in the collection.

Remarks

Supports true curves.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.2 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.1 - 200.7
Xamarin.Android100.1 - 100.14
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.7
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.
In This Article
Back to top Copyright © 2022 Esri.