ESRI.ArcGIS.Mobile
CenterAt(Double,Double) Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.Geometries Namespace > Envelope Class > CenterAt Method : CenterAt(Double,Double) Method

x
The X coordinate
y
The Y coordinate
Centers the envelope at the given location.

Syntax

Visual Basic (Declaration) 
Public Overloads Function CenterAt( _
   ByVal x As Double, _
   ByVal y As Double _
) As Envelope
C# 
public Envelope CenterAt( 
   double x,
   double y
)

Parameters

x
The X coordinate
y
The Y coordinate

Remarks

Moves the Envelope so that the center point of the Envelope is at the given location. The Width, Height, and other properties of the Envelope remain unchanged (only the MinX, MaxX, MinY, and MaxY are altered).

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

© 2013 All Rights Reserved.