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




map
The map to change extent for.
center
The point to center map extent at. The point is expected in map coordinates.
Draws the pagelayout after centering the extent of the specified map at the point provided.

Syntax

Visual Basic (Declaration) 
Public Overloads Function MapCenterAt( _
   ByVal map As ESRI.ArcGIS.ADF.Web.LayoutImageDataFrameInfo, _
   ByVal center As ESRI.ArcGIS.Geometry.IPoint _
) As ESRI.ArcGIS.ADF.Web.LayoutImage
Visual Basic (Usage)Copy Code
Dim instance As WebPageLayout
Dim map As ESRI.ArcGIS.ADF.Web.LayoutImageDataFrameInfo
Dim center As ESRI.ArcGIS.Geometry.IPoint
Dim value As ESRI.ArcGIS.ADF.Web.LayoutImage
 
value = instance.MapCenterAt(map, center)
C# 
public ESRI.ArcGIS.ADF.Web.LayoutImage MapCenterAt( 
   ESRI.ArcGIS.ADF.Web.LayoutImageDataFrameInfo map,
   ESRI.ArcGIS.Geometry.IPoint center
)

Parameters

map
The map to change extent for.
center
The point to center map extent at. The point is expected in map coordinates.

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.