![]() ![]() |
ESRI.ArcGIS.ADF.Web | |
ZoomIn Method | |
See Also Send Feedback |
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.
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) | ![]() |
---|---|
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.
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