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


IARPageLayout.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 > IARPageLayout Interface > IARPageLayout.CenterAt Method
ArcGIS Developer Help

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