ESRI.ArcGIS.ADF.Web
Pan Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web Namespace > NavigationUtility Class : Pan Method




currentExtent
The current map extent.
direction
The direction to pan (move) the map.
screenPercentage
The percentage of the view screen to pan (move) the map.
Modifies the current extent to pan (move) the map based on the input direction and distance.

Syntax

Visual Basic (Declaration) 
Public Shared Sub Pan( _
   ByRef currentExtent As Envelope, _
   ByVal direction As DisplayDirection, _
   ByVal screenPercentage As Double _
) 
Visual Basic (Usage)Copy Code
Dim currentExtent As Envelope
Dim direction As DisplayDirection
Dim screenPercentage As Double
 
NavigationUtility.Pan(currentExtent, direction, screenPercentage)
C# 
public static void Pan( 
   ref Envelope currentExtent,
   DisplayDirection direction,
   double screenPercentage
)

Parameters

currentExtent
The current map extent.
direction
The direction to pan (move) the map.
screenPercentage
The percentage of the view screen to pan (move) the map.

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.