ESRI.ArcGIS.ADF.Web.UI.WebControls
ZoomToDefaultExtent Method
See Also  Send Feedback
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.

Requirements

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

See Also

© 2011 All Rights Reserved.