ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout
MapZoom(LayoutImageDataFrameInfo,Double,IPoint,IMapDescription) Method
See Also 
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 LayoutImageDataFrameInfo, _
   ByVal factor As Double, _
   ByVal point As IPoint, _
   ByVal mapDesc As IMapDescription _
) As LayoutImage
Visual Basic (Usage)Copy Code
Dim instance As WebPageLayout
Dim map As LayoutImageDataFrameInfo
Dim factor As Double
Dim point As IPoint
Dim mapDesc As IMapDescription
Dim value As LayoutImage
 
value = instance.MapZoom(map, factor, point, mapDesc)
C# 
public LayoutImage MapZoom( 
   LayoutImageDataFrameInfo map,
   double factor,
   IPoint point,
   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.

See Also

© 2010 All Rights Reserved.