ESRI.ArcGIS.ADF.Web.UI.WebControls
Zoom(Geometry) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class > Zoom Method : Zoom(Geometry) Method




geometry
Geometry to zoom to.
Zooms to an extent of an ADF geometry.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Zoom( _
   ByVal geometry As ESRI.ArcGIS.ADF.Web.Geometry.Geometry _
) 
Visual Basic (Usage)Copy Code
Dim instance As Map
Dim geometry As ESRI.ArcGIS.ADF.Web.Geometry.Geometry
 
instance.Zoom(geometry)
C# 
public void Zoom( 
   ESRI.ArcGIS.ADF.Web.Geometry.Geometry geometry
)

Parameters

geometry
Geometry to zoom to.

Remarks

If the map is using a cached resource, the map will zoom to a level that ensures it's in the view. If you pass in a point or object with a zero extent, the map will only center at the point without changing scale.

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.