ESRI.ArcGIS.ADF.Web
Pan Method
See Also 
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.

See Also

© 2010 All Rights Reserved.