This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > 3DAnalyst > ESRI.ArcGIS.Analyst3D > Interfaces > IC > ICamera Interface > ICamera.SetDefaultsMBB Method (ArcObjects .NET 10.4 SDK) |
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
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'.