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 Selected Globe Features | Zoom to Globe Layer |

.NET Related Topics

How to zoom to a layer in globe |