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

ICamera.ZoomToRect Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > 3DAnalyst > ESRI.ArcGIS.Analyst3D > Interfaces > IC > ICamera Interface > ICamera.ZoomToRect Method
ArcGIS Developer Help

ICamera.ZoomToRect Method

Zooms to the given screen extent.

[Visual Basic .NET]
Public Sub ZoomToRect ( _
    ByVal pExtent As IEnvelope _
public void ZoomToRect (
    IEnvelope pExtent
  IEnvelope* pExtent
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