ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout
MapPan(LayoutImageDataFrameInfo,DisplayDirection,Double) Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > WebPageLayout Class > MapPan Method : MapPan(LayoutImageDataFrameInfo,DisplayDirection,Double) Method




map
The map to pan.
direction
The direction to pan the map.
screenPercentage
Percentage of the map screen to pan.
Draws the page layout after panning the map in a display direction.

Syntax

Visual Basic (Declaration) 
Public Overloads Function MapPan( _
   ByVal map As LayoutImageDataFrameInfo, _
   ByVal direction As DisplayDirection, _
   ByVal screenPercentage As Double _
) As LayoutImage
Visual Basic (Usage)Copy Code
Dim instance As WebPageLayout
Dim map As LayoutImageDataFrameInfo
Dim direction As DisplayDirection
Dim screenPercentage As Double
Dim value As LayoutImage
 
value = instance.MapPan(map, direction, screenPercentage)
C# 
public LayoutImage MapPan( 
   LayoutImageDataFrameInfo map,
   DisplayDirection direction,
   double screenPercentage
)

Parameters

map
The map to pan.
direction
The direction to pan the map.
screenPercentage
Percentage of the map screen to pan.

Return Value

The result of the draw.

See Also

© 2010 All Rights Reserved.