Show / Hide Table of Contents

Property Extent

Extent

Gets the calculated extent of the graphics contained in the overlay's Graphics collection.

Declaration
public Envelope Extent { get; }
Property Value
Type Description
Envelope

The current extent of the GraphicsOverlay.

Remarks

The extent's SpatialReference is that of the GeoView that contains the overlay.

If the overlay is not in a view, returns null.

If the overlay is in a view but that view does not yet have a spatial reference, returns null.

If the overlay is in a view with a spatial reference, but has no graphics, then an empty envelope will be returned.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.0 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.0 - 100.15
iOS100.0 - 100.15
UWP100.0 - 200.0
Relevant samples
Find place: Find places of interest near a location or within a specific area.
Find service areas for multiple facilities: Find the service areas of several facilities from a feature service.
In This Article
Back to top Copyright © 2022 Esri.