ESRI.ArcGIS.ADF.Web
ZoomIn Method
See Also 
ESRI.ArcGIS.ADF.Web Namespace > NavigationUtility Class : ZoomIn Method




currentExtent
The current map extent.
screenRect
The screen rectangle to zoom to, typically the zoom box drawn by the user.
imageWidth
The map image width.
imageHeight
The map image height.
Gets the envelope for zooming the map based on the input parameters.

Syntax

Visual Basic (Declaration) 
Public Shared Function ZoomIn( _
   ByVal currentExtent As Envelope, _
   ByVal screenRect As Rectangle, _
   ByVal imageWidth As Integer, _
   ByVal imageHeight As Integer _
) As Envelope
Visual Basic (Usage)Copy Code
Dim currentExtent As Envelope
Dim screenRect As Rectangle
Dim imageWidth As Integer
Dim imageHeight As Integer
Dim value As Envelope
 
value = NavigationUtility.ZoomIn(currentExtent, screenRect, imageWidth, imageHeight)
C# 
public static Envelope ZoomIn( 
   Envelope currentExtent,
   Rectangle screenRect,
   int imageWidth,
   int imageHeight
)

Parameters

currentExtent
The current map extent.
screenRect
The screen rectangle to zoom to, typically the zoom box drawn by the user.
imageWidth
The map image width.
imageHeight
The map image height.

See Also

© 2010 All Rights Reserved.