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




x
X coordinate to center at, in pixels.
y
Y coordinate to center at, in pixels.
Draws the page layout after centering its extent at the pixel coordinates provided.

Syntax

Visual Basic (Declaration) 
Public Overloads Function PageCenterAt( _
   ByVal x As Integer, _
   ByVal y As Integer _
) As ESRI.ArcGIS.ADF.Web.LayoutImage
Visual Basic (Usage)Copy Code
Dim instance As WebPageLayout
Dim x As Integer
Dim y As Integer
Dim value As ESRI.ArcGIS.ADF.Web.LayoutImage
 
value = instance.PageCenterAt(x, y)
C# 
public ESRI.ArcGIS.ADF.Web.LayoutImage PageCenterAt( 
   int x,
   int y
)

Parameters

x
X coordinate to center at, in pixels.
y
Y coordinate to center at, in pixels.

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.