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




map
The map to change extent for.
x
The X coordinate to center map extent at.
y
The Y coordinate to center map extent at.
Draws the pagelayout after centering the extent of the specified map at the pixel coordinates provided.

Syntax

Visual Basic (Declaration) 
Public Overloads Function MapCenterAt( _
   ByVal map As LayoutImageDataFrameInfo, _
   ByVal x As Integer, _
   ByVal y As Integer _
) As LayoutImage
Visual Basic (Usage)Copy Code
Dim instance As WebPageLayout
Dim map As LayoutImageDataFrameInfo
Dim x As Integer
Dim y As Integer
Dim value As LayoutImage
 
value = instance.MapCenterAt(map, x, y)
C# 
public LayoutImage MapCenterAt( 
   LayoutImageDataFrameInfo map,
   int x,
   int y
)

Parameters

map
The map to change extent for.
x
The X coordinate to center map extent at.
y
The Y coordinate to center map extent at.

Return Value

The result of the draw.

See Also

© 2010 All Rights Reserved.