This document is archived and information here might be outdated. Recommended version. |
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'.