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


IMensuration.GetHeightFromBaseAndTop Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IM > IMensuration Interface > IMensuration.GetHeightFromBaseAndTop Method
ArcGIS Developer Help

IMensuration.GetHeightFromBaseAndTop Method

Estimates the height of an object given the base and the top map points of the object.

[Visual Basic .NET]
Public Sub GetHeightFromBaseAndTop ( _
    ByVal pBaseOfObject As IPoint, _
    ByVal pTopOfObject As IPoint, _
    ByRef ppHtMeasurement As IHeightMeasurement _
)
[C#]
public void GetHeightFromBaseAndTop (
    IPoint pBaseOfObject,
    IPoint pTopOfObject,
    ref IHeightMeasurement ppHtMeasurement
);
[C++]
HRESULT GetHeightFromBaseAndTop(
  IPoint* pBaseOfObject,
  IPoint* pTopOfObject,
  IHeightMeasurement** ppHtMeasurement
);
[C++]
Parameters
pBaseOfObject [in]

pBaseOfObject is a parameter of type IPoint* pTopOfObject [in]
pTopOfObject is a parameter of type IPoint* ppHtMeasurement [out]
ppHtMeasurement is a parameter of type IHeightMeasurement**

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IMensuration Interface