![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
FullExtent Property | |
See Also Example Send Feedback |
ESRI.ArcGIS.ADF.IMS.Carto Namespace > MapView Class : FullExtent Property |
Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property FullExtent As Envelope |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As MapView Dim value As Envelope value = instance.FullExtent |
C# | |
---|---|
public Envelope FullExtent {get;} |
This example sets the map to the FullExtent, if FullExtent is not null (Nothing). The code assumes an existing MapView object.
C# | ![]() |
---|---|
if (mapView.FullExtent != null) { mapView.Extent = mapView.FullExtent; } |
Visual Basic | ![]() |
---|---|
If Not IsNothing(mapView.FullExtent) Then mapView.Extent = mapView.FullExtent End If |
This envelope is the extent of all layers in the map. It is calculated from the envelopes of each layer as obtained from the ArcIMS server. If the layer extents are not retrieved from the server upon initialization of the MapServer on which the MapView is based, then FullExtent will be null (Nothing). To ensure retrieval of layer extents, set the LoadLayerExtents argument/property to true in the InitializationParameters used with MapService .
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family