Moves this envelope so it is centered at p.
[Visual Basic 6.0] Sub CenterAt(
ByVal p As IPoint _
)
[Visual Basic .NET] Public Sub CenterAt ( _ ByVal p As IPoint _ )
[C#] public void CenterAt ( IPoint p );
[Java] public void centerAt ( IPoint p ) throws IOException, AutomationException
[C++] HRESULT CenterAt( IPoint* p );
Moves the Envelope so that the center point of the Envelope is at the given input point. The Width, Height, and other properties of the Envelope remain unchanged (only the XMin, XMax, YMin, and YMax are altered).
The Center Point occurs at: ((XMin + XMax) / 2, (YMin + YMax) / 2).
IEnvelope Interface | IEnvelope.Union Method | IEnvelope.Intersect Method | IEnvelope.Expand Method | IEnvelope.Offset Method