Set the Camera to Zoom to an Extent.
[Visual Basic .NET] Public Sub SetToZoomToExtents ( _ ByVal pExtent As IEnvelope, _ ByVal pGlobe As IGlobe, _ ByVal pSceneViewer As ISceneViewer _ )
[C#] public void SetToZoomToExtents ( IEnvelope pExtent, IGlobe pGlobe, ISceneViewer pSceneViewer );
[C++]
HRESULT SetToZoomToExtents(
IEnvelope* pExtent,
IGlobe* pGlobe,
ISceneViewer* pSceneViewer
);
[C++]Parameters
pExtent [in]pExtent is a parameter of type IEnvelope
pGlobe [in]pGlobe is a parameter of type IGlobe
pSceneViewer [in]pSceneViewer is a parameter of type ISceneViewer
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.