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

See Also

© 2010 All Rights Reserved.