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


IARMap.ZoomOut Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (PublisherControls)  

IARMap.ZoomOut Method

Zooms out on the map by a factor.

[Visual Basic .NET]
Public Sub ZoomOut ( _
    ByVal factor As Double _
)
[C#]
public void ZoomOut (
    double factor
);

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

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.

Errors Returned

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.

See Also

IARMap Interface | IARMap.ZoomIn Method | IARMap.Pan Method | IARMap.CenterAt Method