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


ICamera.Zoom Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (3DAnalyst)  

ICamera.Zoom Method

Zooms in or out by moving the observer according to the required ratio between the new and previous viewing distances.

[Visual Basic .NET]
Public Sub Zoom ( _
    ByVal ratio As Double _
)
[C#]
public void Zoom (
    double ratio
);
[C++]
HRESULT Zoom(
  double ratio
);
[C++]

Parameters ratio [in] ratio is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

See Also

ICamera Interface