ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout
MapZoom(LayoutImageDataFrameInfo,Double,IPoint,IMapDescription) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > WebPageLayout Class > MapZoom Method : MapZoom(LayoutImageDataFrameInfo,Double,IPoint,IMapDescription) Method




map
The map to change extent for.
factor
Factor to zoom by. Use a factor greater than 1 to zoom in, a factor less than 1 to zoom out.
point
Point to center map at, in map coordinates.
mapDesc
The map description for the map to change extent for. Can be null.
Draws the page layout after expanding the extent of the specified map by the factor provided and centering the extent at the coordinates provided.

Syntax

Visual Basic (Declaration) 
Public Overloads Function MapZoom( _
   ByVal map As ESRI.ArcGIS.ADF.Web.LayoutImageDataFrameInfo, _
   ByVal factor As Double, _
   ByVal point As ESRI.ArcGIS.Geometry.IPoint, _
   ByVal mapDesc As ESRI.ArcGIS.Carto.IMapDescription _
) As ESRI.ArcGIS.ADF.Web.LayoutImage
Visual Basic (Usage)Copy Code
Dim instance As WebPageLayout
Dim map As ESRI.ArcGIS.ADF.Web.LayoutImageDataFrameInfo
Dim factor As Double
Dim point As ESRI.ArcGIS.Geometry.IPoint
Dim mapDesc As ESRI.ArcGIS.Carto.IMapDescription
Dim value As ESRI.ArcGIS.ADF.Web.LayoutImage
 
value = instance.MapZoom(map, factor, point, mapDesc)
C# 
public ESRI.ArcGIS.ADF.Web.LayoutImage MapZoom( 
   ESRI.ArcGIS.ADF.Web.LayoutImageDataFrameInfo map,
   double factor,
   ESRI.ArcGIS.Geometry.IPoint point,
   ESRI.ArcGIS.Carto.IMapDescription mapDesc
)

Parameters

map
The map to change extent for.
factor
Factor to zoom by. Use a factor greater than 1 to zoom in, a factor less than 1 to zoom out.
point
Point to center map at, in map coordinates.
mapDesc
The map description for the map to change extent for. Can be null.

Return Value

The result of the draw.

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.