ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout
MapPan(LayoutImageDataFrameInfo,DisplayDirection,Double) Method
See Also  Send Feedback
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 ESRI.ArcGIS.ADF.Web.LayoutImageDataFrameInfo, _
   ByVal direction As ESRI.ArcGIS.ADF.Web.DisplayDirection, _
   ByVal screenPercentage As Double _
) As ESRI.ArcGIS.ADF.Web.LayoutImage
Visual Basic (Usage)Copy Code
Dim instance As WebPageLayout
Dim map As ESRI.ArcGIS.ADF.Web.LayoutImageDataFrameInfo
Dim direction As ESRI.ArcGIS.ADF.Web.DisplayDirection
Dim screenPercentage As Double
Dim value As ESRI.ArcGIS.ADF.Web.LayoutImage
 
value = instance.MapPan(map, direction, screenPercentage)
C# 
public ESRI.ArcGIS.ADF.Web.LayoutImage MapPan( 
   ESRI.ArcGIS.ADF.Web.LayoutImageDataFrameInfo map,
   ESRI.ArcGIS.ADF.Web.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.

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.