This document is archived and information here might be outdated.  Recommended version.


IARMap.CenterAt Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARMap Interface > IARMap.CenterAt Method
ArcGIS Developer Help

IARMap.CenterAt Method

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
);

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

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.

See Also

IARMap Interface | IARMap.ZoomIn Method | IARMap.ZoomOut Method | IARMap.Pan Method