ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout
CenterMapAt Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout Namespace > PageLayout Class : CenterMapAt Method




info
Data frame in the layout.
center
Pixel location to center the map at.
Centers the map in the data frame at the specified point.

Syntax

Visual Basic (Declaration) 
Public Sub CenterMapAt( _
   ByVal info As ESRI.ArcGIS.ADF.Web.LayoutImageDataFrameInfo, _
   ByVal center As Point _
) 
Visual Basic (Usage)Copy Code
Dim instance As PageLayout
Dim info As ESRI.ArcGIS.ADF.Web.LayoutImageDataFrameInfo
Dim center As Point
 
instance.CenterMapAt(info, center)
C# 
public void CenterMapAt( 
   ESRI.ArcGIS.ADF.Web.LayoutImageDataFrameInfo info,
   Point center
)

Parameters

info
Data frame in the layout.
center
Pixel location to center the map at.

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.