ESRI.ArcGIS.ADF.Web.UI.WebControls
ZoomToDefaultExtent Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class : ZoomToDefaultExtent Method




Zooms the map to the default extent of the map.

Syntax

Visual Basic (Declaration) 
Public Sub ZoomToDefaultExtent() 
Visual Basic (Usage)Copy Code
Dim instance As Map
 
instance.ZoomToDefaultExtent()
C# 
public void ZoomToDefaultExtent()

Remarks

Some map services have a default extent that is not the full extent of all layers and features. For ArcGIS Server, the default extent is taken from the extent of the map as saved when authored in ArcMap (ArcGIS Desktop). For ArcIMS, the default extent is taken from the extent of the map when saved in ArcIMS Author for image services, or when saved in ArcMap for ArcMap services. The ArcIMS extent may also be modified in an image service by setting or modifying the INITIAL_EXTENT envelope in the ArcXML (.axl) service definition file.

See Also

© 2010 All Rights Reserved.