This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARPageLayout Interface > IARPageLayout.Pan Method (ArcObjects .NET 10.4 SDK) |
Pans the page layout by a factor in a specified direction.
[Visual Basic .NET] Public Sub Pan ( _ ByVal direction As esriARDirection, _ ByVal screenPercentage As Double _ )
[C#] public void Pan ( esriARDirection direction, double screenPercentage );
Pans the ARPageLayout display area in the specified direction, by a specified screen percentage. The extent of the ARPageLayout will change, but the ZoomPercent will remain the same.
A percentage of 0 will not actually offset the APPageLayout in the display area, a percentage of 25 will pan the current visible extent by a quarter of its width, and a percentage of 100 will offset the ARPageLayout in the display area completely, so that any of the ARPageLayout visible before the Pan will no longer be visible.
2031 800A07EF: Invalid pan percentage, the pan percentage must be in the range 0 to 100
2032 800A07F0: Invalid pan direction
IARPageLayout Interface | IARPageLayout.ZoomIn Method | IARPageLayout.ZoomOut Method | IARPageLayout.CenterAt Method