This document is archived and information here might be outdated. Recommended version. |
Zooms in on the map by a factor.
[Visual Basic .NET] Public Sub ZoomIn ( _ ByVal factor As Double _ )
[C#] public void ZoomIn ( double factor );
Zooms in 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.ZoomOut Method | IARMap.Pan Method | IARMap.CenterAt Method