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


ICamera.ZoomToRect Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (3DAnalyst)  

ICamera.ZoomToRect Method

Zooms to the given screen extent.

[Visual Basic .NET]
Public Sub ZoomToRect ( _
    ByVal pExtent As IEnvelope _
)
[C#]
public void ZoomToRect (
    IEnvelope pExtent
);
[C++]
HRESULT ZoomToRect(
  IEnvelope* pExtent
);
[C++]

Parameters pExtent [in]
pExtent is a parameter of type IEnvelope*

Product Availability

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

See Also

ICamera Interface