Zooms to the combined extent of a generic MapItem collection.

Namespace:  ESRI.ArcGISExplorer.Mapping

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public void ZoomTo<T>(
	IEnumerable<T> mapItems
)
where T : MapItem
Visual Basic (Declaration)
Public Sub ZoomTo(Of T As MapItem) ( _
	mapItems As IEnumerable(Of T) _
)

Parameters

mapItems
Type: System.Collections.Generic..::.IEnumerable<(Of <(T>)>)

The collection of MapItems to zoom to.

Type Parameters

T
The type of MapItems contained by the generic collection.

See Also