This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARMap Interface > IARMap.CenterAt Method (ArcObjects .NET 10.5 SDK) |
Moves the center of the map to the specified point.
[Visual Basic .NET] Public Sub CenterAt ( _ ByVal xCoord As Double, _ ByVal yCoord As Double _ )
[C#] public void CenterAt ( double xCoord, double yCoord );
The CenterAt method positions the supplied x and y map coordinates in the center of the ARMap display area. The extent of the ARMap will change, but the MapScale will remain the same.
IARMap Interface | IARMap.ZoomIn Method | IARMap.ZoomOut Method | IARMap.Pan Method