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

center
Centers the envelope at the given coordinate.

Syntax

Visual Basic (Declaration) 
Public Overloads Function CenterAt( _
   ByVal center As Coordinate _
) As Envelope
C# 
public Envelope CenterAt( 
   Coordinate center
)

Parameters

center

Exceptions

ExceptionDescription
ArgumentNullExceptionNull coordinate for envelope.

Remarks

Moves the Envelope so that the center point of the Envelope is at the given input coordinate. 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.