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


IPageLayoutControlDefault.CenterAt Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IP > IPageLayoutControlDefault Interface > IPageLayoutControlDefault.CenterAt Method
ArcGIS Developer Help

IPageLayoutControlDefault.CenterAt Method

Moves the center of the PageLayoutControl to the specified location.

[Visual Basic .NET]
Public Sub CenterAt ( _
    ByVal centerPoint As IPoint _
)
[C#]
public void CenterAt (
    IPoint centerPoint
);
[C++]
HRESULT CenterAt(
  IPoint* centerPoint
);
[C++]
Parameters
centerPoint [in]

centerPoint is a parameter of type IPoint*

Product Availability

Available with ArcGIS Engine.

Description

The CenterAt method positions the supplied point in the center of the PageLayoutControl. The Extent of the PageLayoutControl will change, but the scale will remain the same.

See Also

IPageLayoutControlDefault Interface