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


ICamera.SetDefaultsMBB Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > 3DAnalyst > ESRI.ArcGIS.Analyst3D > Interfaces > IC > ICamera Interface > ICamera.SetDefaultsMBB Method
ArcGIS Developer Help

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