ArcObjects Library Reference (3DAnalyst)  

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,
  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