ESRI.ArcGIS.ADF.IMS | |
FullExtent Property | |
See Also Example |
ESRI.ArcGIS.ADF.IMS.Carto Namespace > MapView Class : FullExtent Property |
Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property FullExtent As Envelope |
Visual Basic (Usage) | Copy Code |
---|---|
|
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# | Copy Code |
---|---|
if (mapView.FullExtent != null) { |
Visual Basic | Copy Code |
---|---|
If Not IsNothing(mapView.FullExtent) Then |
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
.