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 > IARMap Interface > IARMap.ZoomOut Method (ArcObjects .NET 10.5 SDK) |
Zooms out on the map by a factor.
[Visual Basic .NET] Public Sub ZoomOut ( _ ByVal factor As Double _ )
[C#] public void ZoomOut ( double factor );
Zooms out on the ARMap 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 MapScale 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
2115 800A0843: Unable to change scale when extent type is fixed scale.
2116 800A0844: Unable to change extent when extent type is fixed extent.
IARMap Interface | IARMap.ZoomIn Method | IARMap.Pan Method | IARMap.CenterAt Method