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


IARPageLayout.ZoomIn Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (PublisherControls)  

IARPageLayout.ZoomIn Method

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
);

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

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.

Errors Returned

2030 800A07EE: Invalid zoom factor, the zoom factor must not be 0 

See Also

IARPageLayout Interface | IARPageLayout.ZoomOut Method | IARPageLayout.Pan Method | IARPageLayout.CenterAt Method