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


ICamera.QueryDistanceToMBB 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.QueryDistanceToMBB Method
ArcGIS Developer Help

ICamera.QueryDistanceToMBB Method

Returns the distance to the given extent.

[Visual Basic .NET]
Public Sub QueryDistanceToMBB ( _
    ByVal pExtent As IEnvelope, _
    ByRef distance As Double _
)
[C#]
public void QueryDistanceToMBB (
    IEnvelope pExtent,
    ref double distance
);
[C++]
HRESULT QueryDistanceToMBB(
  IEnvelope* pExtent,
  System.Double* distance
);
[C++]
Parameters
pExtent [in]

pExtent is a parameter of type IEnvelope* distance [out]
distance is a parameter of type double*

Product Availability

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

See Also

ICamera Interface