This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > 3DAnalyst > ESRI.ArcGIS.Analyst3D > Interfaces > IC > ICamera Interface > ICamera.ZoomToRect Method (ArcObjects .NET 10.5 SDK) |
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