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


IGlobeCamera.SetToZoomToExtents Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GlobeCore)  

IGlobeCamera.SetToZoomToExtents Method

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.

See Also

IGlobeCamera Interface

.NET Snippets

Zoom to Globe Layer | Zoom to Selected Globe Features

.NET Related Topics

How to zoom to a layer in globe