This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARPageLayout Interface > IARPageLayout.ZoomIn Method (ArcObjects .NET 10.5 SDK) |
Zooms in on the page layout by a factor.
[Visual Basic .NET] Public Sub ZoomIn ( _ ByVal factor As Double _ )
[C#] public void ZoomIn ( double factor );
Zooms in on the ARPageLayout from the center of its current visible extent by a specified factor. This factor represents the ratio between the new visible extent and the previous visible extent and will cause the ZoomPercent property to change. For example, zooming in by a factor of 2, is the same as zooming out by a factor of 0.5 and vice versa.
2030 800A07EE: Invalid zoom factor, the zoom factor must not be 0
IARPageLayout Interface | IARPageLayout.ZoomOut Method | IARPageLayout.Pan Method | IARPageLayout.CenterAt Method