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


ICamera.SetDefaultsMBB Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (3DAnalyst)  

ICamera.SetDefaultsMBB Method

Positions camera so that the entire given extent can be seen.

[Visual Basic .NET]
Public Sub SetDefaultsMBB ( _
    ByVal pExtent As IEnvelope _
)
[C#]
public void SetDefaultsMBB (
    IEnvelope pExtent
);
[C++]
HRESULT SetDefaultsMBB(
  IEnvelope* pExtent
);
[C++]

Parameters pExtent [in]
pExtent is a parameter of type IEnvelope

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Remarks

The SetDefaultsMBB method of the camera object in a 3D scene can be used to programmatically zoom to a designated extent of 'minimum bounding box'.

See Also

ICamera Interface