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


IARPageLayout.CenterAt Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (PublisherControls)  

IARPageLayout.CenterAt Method

Moves the center of the page layout 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 page coordinates in the center of the ARPageLayout display area. The extent of the ARPageLayout will change, but the ZoomPercent will remain the same.

See Also

IARPageLayout Interface | IARPageLayout.ZoomIn Method | IARPageLayout.ZoomOut Method | IARPageLayout.Pan Method